aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-06-26 07:58:44 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 13:48:20 -0400
commitc38bfdc85aae0c6d1458269c0e063c2f4a116711 (patch)
tree076cf7f521e7c7364a0e81b58b23062a607562e0
parentbf660254e0d430e5d991e432d5dad8d6714828f6 (diff)
[PATCH] x86_64: Move VM86 config into arch/i386/Kconfig
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>
-rw-r--r--arch/i386/Kconfig9
-rw-r--r--init/Kconfig10
2 files changed, 9 insertions, 10 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig
index 2206bf6637de..0f8da3bea1d1 100644
--- a/arch/i386/Kconfig
+++ b/arch/i386/Kconfig
@@ -324,6 +324,15 @@ config X86_MCE_P4THERMAL
324 Enabling this feature will cause a message to be printed when the P4 324 Enabling this feature will cause a message to be printed when the P4
325 enters thermal throttling. 325 enters thermal throttling.
326 326
327config VM86
328 default y
329 bool "Enable VM86 support" if EMBEDDED
330 help
331 This option is required by programs like DOSEMU to run 16-bit legacy
332 code on X86 processors. It also may be needed by software like
333 XFree86 to initialize some video cards via BIOS. Disabling this
334 option saves about 6k.
335
327config TOSHIBA 336config TOSHIBA
328 tristate "Toshiba Laptop support" 337 tristate "Toshiba Laptop support"
329 ---help--- 338 ---help---
diff --git a/init/Kconfig b/init/Kconfig
index e0358f3946a1..36b02d5924e9 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -236,16 +236,6 @@ config UID16
236 help 236 help
237 This enables the legacy 16-bit UID syscall wrappers. 237 This enables the legacy 16-bit UID syscall wrappers.
238 238
239config VM86
240 depends X86
241 default y
242 bool "Enable VM86 support" if EMBEDDED
243 help
244 This option is required by programs like DOSEMU to run 16-bit legacy
245 code on X86 processors. It also may be needed by software like
246 XFree86 to initialize some video cards via BIOS. Disabling this
247 option saves about 6k.
248
249config CC_OPTIMIZE_FOR_SIZE 239config CC_OPTIMIZE_FOR_SIZE
250 bool "Optimize for size (Look out for broken compilers!)" 240 bool "Optimize for size (Look out for broken compilers!)"
251 default y 241 default y