Kees Cook
7040b37a96
x86/asm: Fix SETZ size enqcmds() build failure
...
[ Upstream commit d81ff5fe14a950f53e2833cfa196e7bb3fd5d4e3 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-30 10:11:05 +02:00
..
2021-05-26 12:06:57 +02:00
2020-09-20 15:06:43 -07:00
2021-07-14 16:56:06 +02:00
2021-07-14 16:56:09 +02:00
2021-09-15 09:50:47 +02:00
2021-01-27 11:54:57 +01:00
2020-09-08 22:21:36 -04:00
2021-09-30 10:11:05 +02:00
2021-09-26 14:08:59 +02:00
2021-09-15 09:50:48 +02:00
2021-05-22 11:40:51 +02:00
2020-08-23 17:36:59 -05:00
2021-09-22 12:27:56 +02:00
2021-08-04 12:46:44 +02:00
2021-06-30 08:47:23 -04:00
2021-02-17 11:02:24 +01:00
2021-05-14 09:50:21 +02:00
2020-10-25 14:51:49 -07:00
2020-06-14 01:57:21 +09:00
2020-09-09 11:33:20 +02:00
2021-08-18 08:59:15 +02:00
2020-10-26 15:39:37 -07:00
2021-09-30 10:10:59 +02:00
2021-05-14 09:50:20 +02:00
2020-06-14 01:57:21 +09:00
2020-10-06 11:18:04 +02:00
2021-05-11 14:47:18 +02:00