diff options
| author | Akinobu Mita <[email protected]> | 2010-09-29 09:08:50 +0000 |
|---|---|---|
| committer | Arnd Bergmann <[email protected]> | 2010-10-09 19:51:44 +0000 |
| commit | 708ff2a0097b02d32d375b66996661f36cd4d6d1 (patch) | |
| tree | 66f7922a1e35de1ad15ba84849bd6fc602c26087 /lib/dynamic_debug.c | |
| parent | asm-generic: kdebug.h: Checkpatch cleanup (diff) | |
| download | kernel-708ff2a0097b02d32d375b66996661f36cd4d6d1.tar.gz kernel-708ff2a0097b02d32d375b66996661f36cd4d6d1.zip | |
bitops: make asm-generic/bitops/find.h more generic
asm-generic/bitops/find.h has the extern declarations of find_next_bit()
and find_next_zero_bit() and the macro definitions of find_first_bit()
and find_first_zero_bit(). It is only usable by the architectures which
enables CONFIG_GENERIC_FIND_NEXT_BIT and disables
CONFIG_GENERIC_FIND_FIRST_BIT.
x86 and tile enable both CONFIG_GENERIC_FIND_NEXT_BIT and
CONFIG_GENERIC_FIND_FIRST_BIT. These architectures cannot include
asm-generic/bitops/find.h in their asm/bitops.h. So ifdefed extern
declarations of find_first_bit and find_first_zero_bit() are put in
linux/bitops.h.
This makes asm-generic/bitops/find.h usable by these architectures
and use it. Also this change is needed for the forthcoming duplicated
extern declarations cleanup.
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: [email protected]
Cc: Chris Metcalf <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
