patch-2.3.99-pre6 linux/include/asm-arm/atomic.h
Next file: linux/include/asm-arm/hardirq.h
Previous file: linux/include/asm-arm/arch-rpc/vmalloc.h
Back to the patch index
Back to the overall index
-  Lines: 15
-  Date:
Tue Apr 25 16:54:38 2000
-  Orig file: 
v2.3.99-pre5/linux/include/asm-arm/atomic.h
-  Orig date: 
Fri Oct 22 13:21:53 1999
diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-arm/atomic.h linux/include/asm-arm/atomic.h
@@ -12,11 +12,11 @@
 #ifndef __ASM_ARM_ATOMIC_H
 #define __ASM_ARM_ATOMIC_H
 
-#ifdef __SMP__
+#include <linux/config.h>
+
+#ifdef CONFIG_SMP
 #error SMP not supported
 #endif
-
-#include <linux/config.h>
 
 #ifdef CONFIG_ARCH_CO285
 typedef struct { volatile 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)