Skip to content

Commit

Permalink
[PATCH] x86_64: Move VM86 config into arch/i386/Kconfig
Browse files Browse the repository at this point in the history
Architecture specific configs like this have no business at all
in init/Kconfig. This prevents it from being set on x86-64

Pointed out by H.Peter Anvin

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jun 26, 2006
1 parent bf66025 commit c38bfdc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
9 changes: 9 additions & 0 deletions arch/i386/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,15 @@ config X86_MCE_P4THERMAL
Enabling this feature will cause a message to be printed when the P4
enters thermal throttling.

config VM86
default y
bool "Enable VM86 support" if EMBEDDED
help
This option is required by programs like DOSEMU to run 16-bit legacy
code on X86 processors. It also may be needed by software like
XFree86 to initialize some video cards via BIOS. Disabling this
option saves about 6k.

config TOSHIBA
tristate "Toshiba Laptop support"
---help---
Expand Down
10 changes: 0 additions & 10 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -236,16 +236,6 @@ config UID16
help
This enables the legacy 16-bit UID syscall wrappers.

config VM86
depends X86
default y
bool "Enable VM86 support" if EMBEDDED
help
This option is required by programs like DOSEMU to run 16-bit legacy
code on X86 processors. It also may be needed by software like
XFree86 to initialize some video cards via BIOS. Disabling this
option saves about 6k.

config CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size (Look out for broken compilers!)"
default y
Expand Down

0 comments on commit c38bfdc

Please sign in to comment.