summaryrefslogtreecommitdiff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-09-10 15:33:32 -0700
committerBorislav Petkov <bp@suse.de>2021-09-22 19:45:48 +0200
commitd81ff5fe14a950f53e2833cfa196e7bb3fd5d4e3 (patch)
tree4199cb91584d30c1cb859e21cd52d4aac82cf3b3 /arch/x86/lib
parent8aa83e6395ce047a506f0b16edca45f36c1ae7f8 (diff)
x86/asm: Fix SETZ size enqcmds() build failure
When building under GCC 4.9 and 5.5: arch/x86/include/asm/special_insns.h: Assembler messages: arch/x86/include/asm/special_insns.h:286: Error: operand size mismatch for `setz' Change the type to "bool" for condition code arguments, as documented. Fixes: 7f5933f81bd8 ("x86/asm: Add an enqcmds() wrapper for the ENQCMDS instruction") Co-developed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210910223332.3224851-1-keescook@chromium.org
Diffstat (limited to 'arch/x86/lib')
0 files changed, 0 insertions, 0 deletions