diff options
author | Alexander van Heukelum <heukelum@mailshack.com> | 2008-04-01 19:41:26 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-26 21:21:16 +0400 |
commit | 2aba6925fdb96428d1129a61b1233597a03a387b (patch) | |
tree | 9ab7d292e681012c43671dd207b20e2c6a10ebcb /arch/x86/lib | |
parent | 77b9bd9c49442407804c37bcc82021a35277f83c (diff) | |
download | linux-2aba6925fdb96428d1129a61b1233597a03a387b.tar.xz |
x86: switch 64-bit to generic find_first_bit
Switch x86_64 to generic find_first_bit. The x86_64-specific
implementation is not removed.
Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/bitops_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/bitops_64.c b/arch/x86/lib/bitops_64.c index 0eeb704d2513..568467d390c0 100644 --- a/arch/x86/lib/bitops_64.c +++ b/arch/x86/lib/bitops_64.c @@ -1,3 +1,4 @@ +#ifndef CONFIG_GENERIC_FIND_FIRST_BIT #include <linux/bitops.h> #undef find_first_zero_bit @@ -105,3 +106,4 @@ long find_first_bit(const unsigned long * addr, unsigned long size) EXPORT_SYMBOL(find_first_bit); EXPORT_SYMBOL(find_first_zero_bit); +#endif |