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 21:52:38 +0000 (14:52 -0700)
commit345e588e67c56983be11816c8af9b1767b6b4907
tree820783638129fa566c8584970b549d876dcd8d12
parent09aaa9748aa1aea0b2fa339a823b754285c8ad6c
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