x86, espfix: Make it possible to disable 16-bit support
authorH. Peter Anvin <hpa@zytor.com>
Sun, 4 May 2014 17:36:22 +0000 (10:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Aug 2014 23:53:53 +0000 (16:53 -0700)
commit639d979e070bd1b8d232e0183e4420bc215d9f14
tree2d202c97616280ffea0e23629a2783908691fe31
parent9f8002a3bead9cbc8e9e922764bf2b3bcf3a6a63
x86, espfix: Make it possible to disable 16-bit support

commit 34273f41d57ee8d854dcd2a1d754cbb546cb548f upstream.

Embedded systems, which may be very memory-size-sensitive, are
extremely unlikely to ever encounter any 16-bit software, so make it
a CONFIG_EXPERT option to turn off support for any 16-bit software
whatsoever.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Link: http://lkml.kernel.org/r/1398816946-3351-1-git-send-email-hpa@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/Kconfig
arch/x86/kernel/entry_32.S
arch/x86/kernel/entry_64.S
arch/x86/kernel/ldt.c