patch-2.4.23 linux-2.4.23/drivers/message/fusion/linux_compat.h

Next file: linux-2.4.23/drivers/net/3c501.c
Previous file: linux-2.4.23/drivers/media/video/videodev.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/message/fusion/linux_compat.h linux-2.4.23/drivers/message/fusion/linux_compat.h
@@ -93,7 +93,7 @@
  * Used prior to schedule_timeout calls..
  */
 #define __set_current_state(state_value)	do { current->state = state_value; } while (0)
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 #define set_current_state(state_value)		do { __set_current_state(state_value); mb(); } while (0)
 #else
 #define set_current_state(state_value)		__set_current_state(state_value)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)