x86/bitops: Use __builtin_constant_p() directly instead of IS_IMMEDIATE()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 23 Jul 2019 07:44:15 +0000 (16:44 +0900)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 23 Jul 2019 11:44:18 +0000 (13:44 +0200)
commitbdd50d7421b2f8fd99f953e1f747e0cb3f3bed64
treef97d1f9a15755293d7c2838328165bef9289a8e0
parentf240652b6032b48ad7fa35c5e701cc4c8d697c0b
x86/bitops: Use __builtin_constant_p() directly instead of IS_IMMEDIATE()

__builtin_constant_p(nr) is used everywhere now. It does not make much
sense to define IS_IMMEDIATE() as its alias.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190723074415.26811-1-yamada.masahiro@socionext.com
arch/x86/include/asm/bitops.h