]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86_64/bitops.h
[PATCH] Avoid overwriting the current pgd (V4, x86_64)
[linux-2.6-omap-h63xx.git] / include / asm-x86_64 / bitops.h
index e9bf933d25d0a78f55d45be879b4dee1f7e4b770..5b535eaf5309b08252097cbcb630fb6afee89a72 100644 (file)
@@ -5,12 +5,7 @@
  * Copyright 1992, Linus Torvalds.
  */
 
-
-#ifdef CONFIG_SMP
-#define LOCK_PREFIX "lock ; "
-#else
-#define LOCK_PREFIX ""
-#endif
+#include <asm/alternative.h>
 
 #define ADDR (*(volatile long *) addr)
 
@@ -404,6 +399,8 @@ static __inline__ int fls(int x)
        return r+1;
 }
 
+#define ARCH_HAS_FAST_MULTIPLIER 1
+
 #include <asm-generic/bitops/hweight.h>
 
 #endif /* __KERNEL__ */