aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/processor.h
diff options
context:
space:
mode:
authorGravatar Nikolay Borisov <nik.borisov@suse.com> 2023-06-23 14:14:05 +0300
committerGravatar Thomas Gleixner <tglx@linutronix.de> 2023-09-14 13:19:53 +0200
commitf71e1d2ff8e6a183bd4004bc97c453ba527b7dc6 (patch)
tree797fb2c69c608ad7aa6fdfc6b0697be79a9cf32c /arch/x86/include/asm/processor.h
parentx86: Introduce ia32_enabled() (diff)
downloadlinux-f71e1d2ff8e6a183bd4004bc97c453ba527b7dc6.tar.gz
linux-f71e1d2ff8e6a183bd4004bc97c453ba527b7dc6.tar.bz2
linux-f71e1d2ff8e6a183bd4004bc97c453ba527b7dc6.zip
x86/entry: Rename ignore_sysret()
The SYSCALL instruction cannot really be disabled in compatibility mode. The best that can be done is to configure the CSTAR msr to point to a minimal handler. Currently this handler has a rather misleading name - ignore_sysret() as it's not really doing anything with sysret. Give it a more descriptive name. Signed-off-by: Nikolay Borisov <nik.borisov@suse.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230623111409.3047467-3-nik.borisov@suse.com
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r--arch/x86/include/asm/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index 0086920cda06..93cd28d6f317 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -399,7 +399,7 @@ static inline unsigned long cpu_kernelmode_gs_base(int cpu)
return (unsigned long)per_cpu(fixed_percpu_data.gs_base, cpu);
}
-extern asmlinkage void ignore_sysret(void);
+extern asmlinkage void entry_SYSCALL32_ignore(void);
/* Save actual FS/GS selectors and bases to current->thread */
void current_save_fsgs(void);