patch-2.3.99-pre6 linux/include/asm-i386/bitops.h
Next file: linux/include/asm-i386/bugs.h
Previous file: linux/include/asm-i386/atomic.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Apr 26 15:29:06 2000
- Orig file:
v2.3.99-pre5/linux/include/asm-i386/bitops.h
- Orig date:
Tue Dec 14 01:27:24 1999
diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-i386/bitops.h linux/include/asm-i386/bitops.h
@@ -5,6 +5,8 @@
* Copyright 1992, Linus Torvalds.
*/
+#include <linux/config.h>
+
/*
* These have to be done with inline assembly: that way the bit-setting
* is guaranteed to be atomic. All bit operations return 0 if the bit
@@ -13,7 +15,7 @@
* bit 0 is the LSB of addr; bit 32 is the LSB of (addr+1).
*/
-#ifdef __SMP__
+#ifdef CONFIG_SMP
#define LOCK_PREFIX "lock ; "
#else
#define LOCK_PREFIX ""
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)