patch-2.3.99-pre6 linux/include/asm-sh/atomic.h

Next file: linux/include/asm-sh/current.h
Previous file: linux/include/asm-ppc/timex.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-sh/atomic.h linux/include/asm-sh/atomic.h
@@ -7,7 +7,9 @@
  *
  */
 
-#ifdef __SMP__
+#include <linux/config.h>
+
+#ifdef CONFIG_SMP
 typedef struct { volatile int counter; } atomic_t;
 #else
 typedef struct { int counter; } atomic_t;

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