RE: [RFC V6 2/3] add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction

2014-10-31 Thread Wang, Yalin
> From: Wang, Yalin > Subject: [RFC V6 2/3] add CONFIG_HAVE_ARCH_BITREVERSE to support rbit > instruction > > This patch add bitrev.h file to support rbit instruction, so that we can do > bitrev operation by hardware. > Signed-off-by: Yalin Wang > --- > arch/ar

[RFC V6 2/3] add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction

2014-10-30 Thread Wang, Yalin
This patch add bitrev.h file to support rbit instruction, so that we can do bitrev operation by hardware. Signed-off-by: Yalin Wang --- arch/arm/Kconfig | 1 + arch/arm/include/asm/bitrev.h | 21 + 2 files changed, 22 insertions(+) create mode 100644 arch/arm/in