patch-2.3.99-pre7 linux/include/asm-mips/atomic.h

Next file: linux/include/asm-mips/delay.h
Previous file: linux/include/asm-m68k/string.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/include/asm-mips/atomic.h linux/include/asm-mips/atomic.h
@@ -18,7 +18,7 @@
 
 #include <linux/config.h>
 
-#ifdef __SMP__
+#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)