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
index f7ba57b..7921212 100644 (file)
@@ -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)