From: Yalin Wang Date: Mon, 3 Nov 2014 02:01:03 +0000 (+0100) Subject: ARM: 8187/1: add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~109^2~1^4~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=556d2f055bf6d79ce81587dfe774d4dd10da473f;p=pandora-kernel.git ARM: 8187/1: add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction this change add CONFIG_HAVE_ARCH_BITREVERSE config option, so that we can use some architecture's bitrev hardware instruction to do bitrev operation. Introduce __constant_bitrev* macro for constant bitrev operation. Change __bitrev16() __bitrev32() to be inline function, don't need export symbol for these tiny functions. Signed-off-by: Yalin Wang Acked-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed