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)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 13 Sep 2014 22:41:51 +0000 (23:41 +0100)
commit70d87cbbd92a3611655b39003176ee1033796bf7
tree1393e94992c9e8a57716026e6b8dbffe884f6233
parentda22646d97b7322c757f3a7a21805a3475fed231
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/x86/Kconfig
arch/x86/kernel/entry_32.S
arch/x86/kernel/entry_64.S
arch/x86/kernel/ldt.c