On Fri, May 06, 2016 at 01:35:03PM +0100, Paul Burton wrote: > Release 6 of the MIPS architecture introduced the bitswap instruction, > which reverses the bits within each byte of a word. Make use of this > instruction to implement the __arch_bitrev* functions, which should be > faster for most MIPSr6 CPUs, reduces code size slightly and allows us to > avoid the lookup table used by the generic implementation, saving 256 > bytes in the kernel binary by dropping that. > > Signed-off-by: Paul Burton <paul.burton@xxxxxxxxxx> Applied after fixing up a trivial conflict. It would be a bit cleaner if <asm/bitrev.h> was including <linux/types.h> itself. <linux/swab.h> does so but there's no guarantee for that. Ralf