aboutsummaryrefslogtreecommitdiff
path: root/lib/bitrev.c
AgeCommit message (Collapse)AuthorFilesLines
2008-06-06lib: export bitrev16Harvey Harrison1-1/+2
Bluetooth will be able to use this. Signed-off-by: Harvey Harrison <[email protected]> Cc: Marcel Holtmann <[email protected]> Cc: Dave Young <[email protected]> Cc: Akinobu Mita <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-12-10[PATCH] add MODULE_* attributes to bit reversal libraryCal Peake1-0/+4
Add MODULE_* attributes to the new bit reversal library. Most notably MODULE_LICENSE which prevents superfluous kernel tainting. Signed-off-by: Cal Peake <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-12-08[PATCH] bit reverse libraryAkinobu Mita1-0/+54
This patch provides two bit reverse functions and bit reverse table. - reverse the order of bits in a u32 value u8 bitrev8(u8 x); - reverse the order of bits in a u32 value u32 bitrev32(u32 x); - byte reverse table const u8 byte_rev_table[256]; Signed-off-by: Akinobu Mita <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>