x86/entry/64: Don't compile ignore_sysret if 32-bit emulation is enabled
authorAndy Lutomirski <luto@kernel.org>
Tue, 2 Jul 2019 03:43:20 +0000 (20:43 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 2 Jul 2019 06:45:20 +0000 (08:45 +0200)
commitdffb3f9db6b593f3ed6ab4c8d8f10e0aa6aa7a88
tree8f1baa91d005525e4a44c52886801e8978e3b54c
parent9402eaf4c11f0b892eda7b2bcb4654ab34ce34f9
x86/entry/64: Don't compile ignore_sysret if 32-bit emulation is enabled

It's only used if !CONFIG_IA32_EMULATION, so disable it in normal
configs.  This will save a few bytes of text and reduce confusion.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: "BaeChang Seok" <chang.seok.bae@intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Bae, Chang Seok" <chang.seok.bae@intel.com>
Link: https://lkml.kernel.org/r/0f7dafa72fe7194689de5ee8cfe5d83509fabcf5.1562035429.git.luto@kernel.org
arch/x86/entry/entry_64.S