]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7cdb0fe0dd1d72803236ac91cd0c6bc2f70364da
treefac4789eb811269f19be98eb40ad358c0d27ee42
parentd10e7153b32470755f011f146ed797ab654c8fa2
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