[BACK]Return to bitrev.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / linux

File: [Development] / linux-2.6-xfs / include / linux / bitrev.h (download)

Revision 1.1, Tue Jan 16 14:53:53 2007 UTC (10 years, 9 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN

Merge of 2.6.x-xfs-melb:linux:27933a by kenmcd.

  Merge up to 2.6.20-rc4

#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 */