patch-2.3.99-pre7 linux/include/asm-sparc/semaphore-helper.h

Next file: linux/include/asm-sparc/sfp-machine.h
Previous file: linux/include/asm-sparc/pgalloc.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/include/asm-sparc/semaphore-helper.h linux/include/asm-sparc/semaphore-helper.h
@@ -1,6 +1,8 @@
 #ifndef _SPARC_SEMAPHORE_HELPER_H
 #define _SPARC_SEMAPHORE_HELPER_H
 
+#include <linux/config.h>
+
 /*
  * (barely) SMP- and interrupt-safe semaphore helper functions, sparc version.
  *
@@ -12,7 +14,7 @@
 {
 	int ret;
 
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 	int tmp;
 
 	__asm__ __volatile__("
@@ -62,7 +64,7 @@
 {
 	int ret;
 
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 	int tmp;
 
 	__asm__ __volatile__("
@@ -115,7 +117,7 @@
 {
 	int ret;
 
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 	int tmp;
 
 	__asm__ __volatile__("

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])