git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
include
/
asm-x86_64
/
bitops.h
diff --git
a/include/asm-x86_64/bitops.h
b/include/asm-x86_64/bitops.h
index
f7ba57b
..
7921212
100644
(file)
--- a/
include/asm-x86_64/bitops.h
+++ b/
include/asm-x86_64/bitops.h
@@
-5,7
+5,13
@@
* Copyright 1992, Linus Torvalds.
*/
-#include <asm/alternative.h>
+#include <linux/config.h>
+
+#ifdef CONFIG_SMP
+#define LOCK_PREFIX "lock ; "
+#else
+#define LOCK_PREFIX ""
+#endif
#define ADDR (*(volatile long *) addr)