patch-2.3.99-pre6 linux/include/asm-ppc/atomic.h
Next file: linux/include/asm-ppc/elf.h
Previous file: linux/include/asm-mips64/elf.h
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Mon Apr 24 13:39:36 2000
-  Orig file: 
v2.3.99-pre5/linux/include/asm-ppc/atomic.h
-  Orig date: 
Mon Jul 19 13:12:47 1999
diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-ppc/atomic.h linux/include/asm-ppc/atomic.h
@@ -5,7 +5,9 @@
 #ifndef _ASM_PPC_ATOMIC_H_ 
 #define _ASM_PPC_ATOMIC_H_
 
-#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)