aboutsummaryrefslogtreecommitdiff
path: root/lib/find_last_bit.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-07lib: reduce the use of module.h wherever possiblePaul Gortmaker1-1/+1
For files only using THIS_MODULE and/or EXPORT_SYMBOL, map them onto including export.h -- or if the file isn't even using those, then just delete the include. Fix up any implicit include dependencies that were being masked by module.h along the way. Signed-off-by: Paul Gortmaker <[email protected]>
2011-05-26bitops: add #ifndef for each of find bitopsAkinobu Mita1-0/+4
The style that we normally use in asm-generic is to test the macro itself for existence, so in asm-generic, do: #ifndef find_next_zero_bit_le extern unsigned long find_next_zero_bit_le(const void *addr, unsigned long size, unsigned long offset); #endif and in the architectures, write static inline unsigned long find_next_zero_bit_le(const void *addr, unsigned long size, unsigned long offset) #define find_next_zero_bit_le find_next_zero_bit_le This adds the #ifndef for each of the find bitops in the generic header and source files. Suggested-by: Arnd Bergmann <[email protected]> Signed-off-by: Akinobu Mita <[email protected]> Acked-by: Russell King <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Greg Ungerer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2009-01-01bitmap: find_last_bit()Rusty Russell1-0/+45
Impact: New API As the name suggests. For the moment everyone uses the generic one. Signed-off-by: Rusty Russell <[email protected]>