diff options
| author | Kees Cook <[email protected]> | 2021-09-10 22:33:32 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2021-09-22 17:45:48 +0000 |
| commit | d81ff5fe14a950f53e2833cfa196e7bb3fd5d4e3 (patch) | |
| tree | 4199cb91584d30c1cb859e21cd52d4aac82cf3b3 /lib/memory-notifier-error-inject.c | |
| parent | x86/setup: Call early_reserve_memory() earlier (diff) | |
| download | kernel-d81ff5fe14a950f53e2833cfa196e7bb3fd5d4e3.tar.gz kernel-d81ff5fe14a950f53e2833cfa196e7bb3fd5d4e3.zip | |
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 <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
