On Sun, 2011-04-24 at 18:51 +0900, Akinobu Mita wrote: > 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 #define for each of the optimized find bitops in the > architectures. > > Suggested-by: Arnd Bergmann <[email protected]> > Signed-off-by: Akinobu Mita <[email protected]> > Cc: Russell King <[email protected]> > Cc: [email protected] > Cc: Martin Schwidefsky <[email protected]> > Cc: Heiko Carstens <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: Hans-Christian Egtvedt <[email protected]> > Cc: Geert Uytterhoeven <[email protected]> > Cc: [email protected] > Cc: Greg Ungerer <[email protected]>
For the arch/avr32/include/asm/bitops.h changes. Acked-by: Hans-Christian Egtvedt <[email protected]> -- Hans-Christian Egtvedt -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
