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
-  Lines: 11
-  Date:
Tue Apr 25 16:53:13 2000
-  Orig file: 
v2.3.99-pre5/linux/include/asm-sh/atomic.h
-  Orig date: 
Fri Oct 22 13:21:54 1999
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)