Re: [ 10/25] x86, espfix: Make it possible to disable 16-bit support

From: Ben Hutchings
Date: Sun Dec 07 2014 - 21:59:33 EST


On Sat, 2014-12-06 at 18:41 +0100, Willy Tarreau wrote:
> 2.6.32-longterm review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: "H. Peter Anvin" <hpa@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> Link: http://lkml.kernel.org/r/1398816946-3351-1-git-send-email-hpa@xxxxxxxxxxxxxxx
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
> (cherry picked from 3.2 commit 70d87cbbd92a3611655b39003176ee1033796bf7)
> [wt: backport notes for 2.6.32 :
> - Fixed arch/x86/kernel/ldt.c (no IS_ENABLED on 2.6.32).
> - No CONFIG_EXPERT condition in 2.6.32.
> /wt]
[...]

It used to be called CONFIG_EMBEDDED, so you could s/EXPERT/EMBEDDED/,
but it doesn't matter much.

Ben.

--
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.

Attachment: signature.asc
Description: This is a digitally signed message part