x86/apic: Fix use of X{,2}APIC_ENABLE in asm with older binutils
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 22 May 2023 10:57:38 +0000 (11:57 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 22 May 2023 12:06:33 +0000 (14:06 +0200)
commit6a4be6984595b164b6f281c5b242dbdf1c06d528
treedf5501a3052f85b5404f46458f7eb7808e23d9a4
parent0c7ffa32dbd6b09a87fea4ad1de8b27145dfd9a6
x86/apic: Fix use of X{,2}APIC_ENABLE in asm with older binutils

"x86/smpboot: Support parallel startup of secondary CPUs" adds the first use
of X2APIC_ENABLE in assembly, but older binutils don't tolerate the UL suffix.

Switch to using BIT() instead.

Fixes: 7e75178a0950 ("x86/smpboot: Support parallel startup of secondary CPUs")
Reported-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://lore.kernel.org/r/20230522105738.2378364-1-andrew.cooper3@citrix.com
arch/x86/include/asm/apicdef.h