From: Akinobu Mita Date: Fri, 8 Dec 2006 10:36:25 +0000 (-0800) Subject: [PATCH] bit reverse library X-Git-Tag: v2.6.20-rc1~34^2~376 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5cfc1ec58a07074dacb6aa8c79eff864c966d12;p=pandora-kernel.git [PATCH] bit reverse library 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed