projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] paravirt: Add MMU virtualization to paravirt_ops
[powerpc.git]
/
include
/
asm-x86_64
/
bitops.h
diff --git
a/include/asm-x86_64/bitops.h
b/include/asm-x86_64/bitops.h
index
e9bf933
..
5b535ea
100644
(file)
--- a/
include/asm-x86_64/bitops.h
+++ b/
include/asm-x86_64/bitops.h
@@
-5,12
+5,7
@@
* Copyright 1992, Linus Torvalds.
*/
* 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)
#define ADDR (*(volatile long *) addr)
@@
-404,6
+399,8
@@
static __inline__ int fls(int x)
return r+1;
}
return r+1;
}
+#define ARCH_HAS_FAST_MULTIPLIER 1
+
#include <asm-generic/bitops/hweight.h>
#endif /* __KERNEL__ */
#include <asm-generic/bitops/hweight.h>
#endif /* __KERNEL__ */