projects/linux·commit e39632fa

[PATCH] menu: relocate DOUBLEFAULT option

e39632fa · Randy Dunlap <[email protected]> · 2006-04-10 22:53:12 -07:00

Move the DOUBLEFAULT option from the top-level menu to the EMBEDDED menu.
Only applicable to X86_32.

Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
e39632faa0efbddc3aed4f8658f2fa0a8afa2717
Parents
7bee5c0f

Changes

2 files changed · +9 −9

FileStatusAddDelContent
arch/i386/Kconfigmodified+0−9View file
init/Kconfigmodified+9−0View file

arch/i386/Kconfig

View file
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig
index f17bd1d..cbc6be6 100644
--- a/arch/i386/Kconfig
+++ b/arch/i386/Kconfig
@@ -757,15 +757,6 @@ config HOTPLUG_CPU
Say N.
-config DOUBLEFAULT
- default y
- bool "Enable doublefault exception handler" if EMBEDDED
- help
- This option allows trapping of rare doublefault exceptions that
- would otherwise cause a system to silently reboot. Disabling this
- option saves about 4k and might cause you much additional grey
- hair.
-
endmenu

init/Kconfig

View file
diff --git a/init/Kconfig b/init/Kconfig
index 3b36a1d..f1bc2f0 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -374,6 +374,15 @@ config SLAB
SLOB is more space efficient but does not scale well and is
more susceptible to fragmentation.
+config DOUBLEFAULT
+ default y
+ bool "Enable doublefault exception handler" if EMBEDDED && X86_32
+ help
+ This option allows trapping of rare doublefault exceptions that
+ would otherwise cause a system to silently reboot. Disabling this
+ option saves about 4k and might cause you much additional grey
+ hair.
+
endmenu # General setup
config TINY_SHMEM