[CRIU] [PATCH 5/8] asm: convert the ARM implementation of bit operations to the reference

Pavel Emelyanov xemul at parallels.com
Tue Mar 11 11:43:15 PDT 2014


On 03/10/2014 12:51 PM, Alexander Kartashov wrote:
> The implementation of bit operations for ARM isn't actually
> architecture-specific so it would rather be shared with
> the upcoming port for AArch64 that won't provide optimized
> implementation of bit operations.
> 
> Proposed-by: Christopher Covington <cov at codeaurora.org>
> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
> ---
>  arch/arm/include/asm/bitops.h |  119 ++---------------------------------------
>  include/asm-generic/bitops.h  |  116 +++++++++++++++++++++++++++++++++++++++

The include/asm-generic/bitops.h file makes me think this is shared
between arm-s and x86, but the latter still has its own implementation.

Maybe we can put this file into arch/ and share it between arm and arm64?


More information about the CRIU mailing list