diff options
Diffstat (limited to 'include/asm-x86/bitops_32.h')
| -rw-r--r-- | include/asm-x86/bitops_32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/bitops_32.h b/include/asm-x86/bitops_32.h index 3ed64b21b765..ba2c0defafa8 100644 --- a/include/asm-x86/bitops_32.h +++ b/include/asm-x86/bitops_32.h | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | * Copyright 1992, Linus Torvalds. | 5 | * Copyright 1992, Linus Torvalds. |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | #ifndef CONFIG_GENERIC_FIND_FIRST_BIT | ||
| 8 | /** | 9 | /** |
| 9 | * find_first_zero_bit - find the first zero bit in a memory region | 10 | * find_first_zero_bit - find the first zero bit in a memory region |
| 10 | * @addr: The address to start the search at | 11 | * @addr: The address to start the search at |
| @@ -59,6 +60,7 @@ static inline unsigned find_first_bit(const unsigned long *addr, unsigned size) | |||
| 59 | } | 60 | } |
| 60 | return x; | 61 | return x; |
| 61 | } | 62 | } |
| 63 | #endif | ||
| 62 | 64 | ||
| 63 | #ifdef __KERNEL__ | 65 | #ifdef __KERNEL__ |
| 64 | 66 | ||
