]> git.baikalelectronics.ru Git - kernel.git/commit
x86/elf: Use _BITUL() macro in UAPI headers
authorJoe Richey <joerichey@google.com>
Fri, 21 May 2021 08:58:42 +0000 (01:58 -0700)
committerBorislav Petkov <bp@suse.de>
Fri, 21 May 2021 09:12:52 +0000 (11:12 +0200)
commita815751132768f0a82b088aea34278ec16472768
treeadd407c47430d582cd02c72a96fedafba6a6ab31
parent87d9f8b77b5545016adf3cfc494e6ea6899acca7
x86/elf: Use _BITUL() macro in UAPI headers

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: cf71c10c3163 ("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
arch/x86/include/uapi/asm/hwcap2.h