x86/entry: Compile entry_SYSCALL32_ignore() unconditionally
authorNikolay Borisov <nik.borisov@suse.com>
Fri, 23 Jun 2023 11:14:06 +0000 (14:14 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 14 Sep 2023 11:19:53 +0000 (13:19 +0200)
commit370dcd58548a360bbf8a65b89b410d09f56bf0c6
treea1b348f6f063dd2204506760809c8ff9beb91b49
parentf71e1d2ff8e6a183bd4004bc97c453ba527b7dc6
x86/entry: Compile entry_SYSCALL32_ignore() unconditionally

To limit the IA32 exposure on 64bit kernels while keeping the
flexibility for the user to enable it when required, the compile time
enable/disable via CONFIG_IA32_EMULATION is not good enough and will
be complemented with a kernel command line option.

Right now entry_SYSCALL32_ignore() is only compiled when
CONFIG_IA32_EMULATION=n, but boot-time enable- / disablement obviously
requires it to be unconditionally available.

Remove the #ifndef CONFIG_IA32_EMULATION guard.

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-4-nik.borisov@suse.com
arch/x86/entry/entry_64.S