x86/elf: Use _BITUL() macro in UAPI headers
authorJoe Richey <joerichey@google.com>
Fri, 21 May 2021 08:58:42 +0000 (01:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:56:04 +0000 (16:56 +0200)
commitc0ec4ac436383f7431196e2603e4e0dcb0710a78
treec3e1808ead9debc79c1fb1f9b7ec4228ed417185
parent912d16a2d730b98b8c9099a2d934dfc691a0a9c2
x86/elf: Use _BITUL() macro in UAPI headers

[ Upstream commit d06aca989c243dd9e5d3e20aa4e5c2ecfdd07050 ]

Replace BIT() in x86's UAPI header with _BITUL(). BIT() is not defined
in the UAPI headers and its usage may cause userspace build errors.

Fixes: 742c45c3ecc9 ("x86/elf: Enumerate kernel FSGSBASE capability in AT_HWCAP2")
Signed-off-by: Joe Richey <joerichey@google.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210521085849.37676-2-joerichey94@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/include/uapi/asm/hwcap2.h