patch-2.3.99-pre6 linux/include/asm-sh/smplock.h
Next file: linux/include/asm-sh/softirq.h
Previous file: linux/include/asm-sh/sigcontext.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Tue Apr 25 16:53:13 2000
- Orig file:
v2.3.99-pre5/linux/include/asm-sh/smplock.h
- Orig date:
Fri Oct 22 13:21:54 1999
diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-sh/smplock.h linux/include/asm-sh/smplock.h
@@ -7,7 +7,9 @@
* for more details.
*/
-#ifndef __SMP__
+#include <linux/config.h>
+
+#ifndef CONFIG_SMP
#define lock_kernel() do { } while(0)
#define unlock_kernel() do { } while(0)
@@ -65,6 +67,6 @@
spin_lock(&kernel_flag); \
} while (0)
-#endif /* __SMP__ */
+#endif /* CONFIG_SMP */
#endif /* __ASM_SH_SMPLOCK_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)