MIPS: Oprofile: Loongson: Cleanup of the macros
[linux-2.6/linux-mips.git] / include / linux / bitrev.h
blob7ffe03f4693d9c26abe5556d5d71d37097616802
1 #ifndef _LINUX_BITREV_H
2 #define _LINUX_BITREV_H
4 #include <linux/types.h>
6 extern u8 const byte_rev_table[256];
8 static inline u8 bitrev8(u8 byte)
10 return byte_rev_table[byte];
13 extern u16 bitrev16(u16 in);
14 extern u32 bitrev32(u32 in);
16 #endif /* _LINUX_BITREV_H */