[RFC V4 1/3] add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction

Joe Perches joe at perches.com
Tue Oct 28 22:21:36 PDT 2014


On Wed, 2014-10-29 at 13:14 +0800, Wang, Yalin wrote:
> this change add CONFIG_HAVE_ARCH_BITREVERSE config option,
> so that we can use arm/arm64 rbit instruction to do bitrev operation
> by hardware.

> We also change byte_rev_table[] to be static,
> to make sure no drivers can access it directly.

You break the build with this patch.

You can't do this until the users of the table
are converted.

So far, they are not.

I submitted patches for these uses, but those patches
are not yet applied.

Please make sure the dependencies for your patches
are explicitly stated.





More information about the linux-arm-kernel mailing list