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)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 4 May 2014 19:27:37 +0000 (12:27 -0700)
commit34273f41d57ee8d854dcd2a1d754cbb546cb548f
tree0f3fee911ac04263045d3c1557dd5ba452dc9658
parent197725de65477bc8509b41388157c1a2283542bb
x86, espfix: Make it possible to disable 16-bit support

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
arch/x86/Kconfig
arch/x86/kernel/entry_32.S
arch/x86/kernel/entry_64.S
arch/x86/kernel/ldt.c