diff options
author | Akinobu Mita <mita@miraclelinux.com> | 2006-03-26 04:39:39 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 11:57:14 -0500 |
commit | d59288b75797fd982546aee7ba24a495dee128dd (patch) | |
tree | 6a02220f6e924195b752fa33b01234276e285133 /arch/sparc | |
parent | 62f1b2465bdf77bb95037a5418040edb2af142d0 (diff) |
[PATCH] bitops: sparc: use generic bitops
- remove __{,test_and_}{set,clear,change}_bit() and test_bit()
- remove ffz()
- remove __ffs()
- remove sched_find_first_bit()
- remove ffs()
- remove generic_fls()
- remove generic_fls64()
- remove generic_hweight{32,16,8}()
- remove find_{next,first}{,_zero}_bit()
- remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit()
- remove ext2_{set,clear}_bit_atomic()
- remove minix_{test,set,test_and_clear,test,find_first_zero}_bit()
Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Cc: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 7c58fc1a39c4..9431e967aa45 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -150,6 +150,14 @@ config RWSEM_GENERIC_SPINLOCK | |||
150 | config RWSEM_XCHGADD_ALGORITHM | 150 | config RWSEM_XCHGADD_ALGORITHM |
151 | bool | 151 | bool |
152 | 152 | ||
153 | config GENERIC_FIND_NEXT_BIT | ||
154 | bool | ||
155 | default y | ||
156 | |||
157 | config GENERIC_HWEIGHT | ||
158 | bool | ||
159 | default y | ||
160 | |||
153 | config GENERIC_CALIBRATE_DELAY | 161 | config GENERIC_CALIBRATE_DELAY |
154 | bool | 162 | bool |
155 | default y | 163 | default y |