summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-12-16 11:40:03 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-06 07:49:44 +0100
commit8397ce73e06c987c30ebe4115226e4d9f4df0f16 (patch)
treef6d30387a6e2b05288c5fd8b52fa10b2ee9d4145 /include
parent88992ac7734ea383dfe5e080f7f00e939ba02565 (diff)
x86/entry/64: Add instruction suffix to SYSRET
commit b2b1d94cdfd4e906d3936dab2850096a4a0c2017 upstream. ignore_sysret() contains an unsuffixed SYSRET instruction. gas correctly interprets this as SYSRETL, but leaving it up to gas to guess when there is no register operand that implies a size is bad practice, and upstream gas is likely to warn about this in the future. Use SYSRETL explicitly. This does not change the assembled output. Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Andy Lutomirski <luto@kernel.org> Link: https://lkml.kernel.org/r/038a7c35-062b-a285-c6d2-653b56585844@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions