OSDN Git Service

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:30:26 +0000 (14:30 -0700)
commit044f72e1163f83cab78e92411033c8b6bf06d3de
tree890aa9b6925e29af81dd9fce6d2845490d040aaa
parentcd4033c9ed9e9abf51a3fb033c34daff2ca8df24
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