ARM: 8417/1: refactor bitops functions with BIT_MASK() and BIT_WORD()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 17 Aug 2015 02:59:52 +0000 (03:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 18 Aug 2015 13:00:30 +0000 (14:00 +0100)
commit8901925d32232adb57ba1b4c26d0c0f9d521a78c
treefac4789eb811269f19be98eb40ad358c0d27ee42
parentda4f295b4aeca0bca4ab406e70fb7087f93ede39
ARM: 8417/1: refactor bitops functions with BIT_MASK() and BIT_WORD()

Use BIT_MASK() and BIT_WORD() rather than hard-coding the size
of the "long" type.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/bitops.h