diff options
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/bitops.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/include/asm-powerpc/bitops.h b/include/asm-powerpc/bitops.h index 220d9a781ab9..36c8f3a43792 100644 --- a/include/asm-powerpc/bitops.h +++ b/include/asm-powerpc/bitops.h | |||
@@ -313,23 +313,8 @@ static __inline__ int fls(unsigned int x) | |||
313 | return 32 - lz; | 313 | return 32 - lz; |
314 | } | 314 | } |
315 | #include <asm-generic/bitops/fls64.h> | 315 | #include <asm-generic/bitops/fls64.h> |
316 | |||
317 | #include <asm-generic/bitops/hweight.h> | 316 | #include <asm-generic/bitops/hweight.h> |
318 | 317 | #include <asm-generic/bitops/find.h> | |
319 | #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0) | ||
320 | unsigned long find_next_zero_bit(const unsigned long *addr, | ||
321 | unsigned long size, unsigned long offset); | ||
322 | /** | ||
323 | * find_first_bit - find the first set bit in a memory region | ||
324 | * @addr: The address to start the search at | ||
325 | * @size: The maximum size to search | ||
326 | * | ||
327 | * Returns the bit-number of the first set bit, not the number of the byte | ||
328 | * containing a bit. | ||
329 | */ | ||
330 | #define find_first_bit(addr, size) find_next_bit((addr), (size), 0) | ||
331 | unsigned long find_next_bit(const unsigned long *addr, | ||
332 | unsigned long size, unsigned long offset); | ||
333 | 318 | ||
334 | /* Little-endian versions */ | 319 | /* Little-endian versions */ |
335 | 320 | ||