arm: rename BIT_{WORD/MASK/PER_WORD) to BITOP_*
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 19 Feb 2020 10:22:54 +0000 (11:22 +0100)
committerJulien Grall <julien@xen.org>
Wed, 19 Feb 2020 12:34:21 +0000 (12:34 +0000)
commitf492e9d03f497f66a656bb31e0e26c97a621d242
treec34d74de7fb737d86acecdb33f52cee2af4a6dc1
parenta42a466c0098decec8bd255ccb1a384ea878ec08
arm: rename BIT_{WORD/MASK/PER_WORD) to BITOP_*

So BIT_WORD can be imported from Linux. The difference between current
Linux implementation of BIT_WORD is that the size of the word unit is
a long integer, while the Xen one is hardcoded to 32 bits.

Current users of BITOP_WORD on Arm (which considers a word a long
integer) are switched to use the generic BIT_WORD which also operates
on long integers.

No functional change intended.

Suggested-by: Julien Grall <julien@xen.org>
Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Julien Grall <julien@xen.org>
xen/arch/arm/arm32/lib/bitops.c
xen/arch/arm/arm64/lib/bitops.c
xen/arch/arm/arm64/lib/find_next_bit.c
xen/include/asm-arm/bitops.h
xen/include/xen/bitops.h