]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
arch: replace _BITUL() in kernel-space headers with BIT()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 16 Jul 2019 23:27:01 +0000 (16:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jul 2019 02:23:22 +0000 (19:23 -0700)
commitfe6ba88b251aa76a94be2cb441d2e6b7c623b989
tree4950f504b3d66501f097a09c70d42d186f4ec955
parent95b980d62d52c4c1768ee719e8db3efe27ef52b2
arch: replace _BITUL() in kernel-space headers with BIT()

Now that BIT() can be used from assembly code, we can safely replace
_BITUL() with equivalent BIT().

UAPI headers are still required to use _BITUL(), but there is no more
reason to use it in kernel headers.  BIT() is shorter.

Link: http://lkml.kernel.org/r/20190609153941.17249-2-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arc/include/asm/pgtable.h
arch/arc/plat-eznps/include/plat/ctop.h
arch/arm64/include/asm/sysreg.h
arch/s390/include/asm/ctl_reg.h
arch/s390/include/asm/nmi.h
arch/s390/include/asm/processor.h
arch/s390/include/asm/ptrace.h
arch/s390/include/asm/setup.h
arch/s390/include/asm/thread_info.h