swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: 39d3520c92cf7a28c07229ca00cc35a1e8026c77 authored by Linus Torvalds on 13 August 2007, 04:25:24 UTC
Linux 2.6.23-rc3
Tip revision: 39d3520
bitrev.h
#ifndef _LINUX_BITREV_H
#define _LINUX_BITREV_H

#include <linux/types.h>

extern u8 const byte_rev_table[256];

static inline u8 bitrev8(u8 byte)
{
	return byte_rev_table[byte];
}

extern u32 bitrev32(u32 in);

#endif /* _LINUX_BITREV_H */
back to top