]> 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)
commitdb3f0226a67af99bb991e427df5f739604235837
treeadd407c47430d582cd02c72a96fedafba6a6ab31
parentb55df23c2e521bfb647a826ad611b2a2f7954c63
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: 84bf1511885e ("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