]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: sysreg: Use _BITUL() when defining register bits
authorWill Deacon <will.deacon@arm.com>
Tue, 11 Dec 2018 16:42:31 +0000 (16:42 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 13 Dec 2018 16:42:47 +0000 (16:42 +0000)
commit97bebc5facf7d495e72df0b7c50be3699c7bdd73
treeae6d5f410b27cd13f8ed31d44dffa516bcef0cad
parent1e013d06120cbf67e771848fc5d98174c33b078a
arm64: sysreg: Use _BITUL() when defining register bits

Using shifts directly is error-prone and can cause inadvertent sign
extensions or build problems with older versions of binutils.

Consistent use of the _BITUL() macro makes these problems disappear.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/sysreg.h