Skip to content
Snippets Groups Projects
Commit a4ee022d authored by Andy Lutomirski's avatar Andy Lutomirski Committed by tangbin
Browse files

x86/entry/64: Don't compile ignore_sysret if 32-bit emulation is enabled

mainline inclusion
from mainline-v5.3
commit dffb3f9d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5Q0UG?from=project-issue


CVE: NA

---------------------------

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: default avatarAndy Lutomirski <luto@kernel.org>
Signed-off-by: default avatarThomas 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



Signed-off-by: default avatartangbin <tangbin_yewu@cmss.chinamobile.com>
parent 99b180a1
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment