]> asedeno.scripts.mit.edu Git - linux.git/commit
lib: add bitrev8x4()
authorJoshua Clayton <stillcompiling@gmail.com>
Wed, 14 Jun 2017 15:36:31 +0000 (10:36 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 15:26:14 +0000 (17:26 +0200)
commit3b88da4aba2549497ac8868877562f1b1913ca62
tree71ab6007d676f87e817333e560cfaa8a7b1df671
parent60acfa593731f496a9f258d2e118297ef956d98d
lib: add bitrev8x4()

Add a function to reverse bytes within a 32 bit word.
Operate on a u32 rather than individual bytes.

Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
Signed-off-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/bitrev.h