Skip to content

Commit

Permalink
[PATCH] i386: Move DOUBLEFAULT config to arch/i386/Kconfig
Browse files Browse the repository at this point in the history
It has no business being elsewhere and x86-64 doesn't need/want it.

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 Jan 12, 2006
1 parent 6c5acd1 commit 4092bde
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 9 additions & 0 deletions arch/i386/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ config DMI

source "init/Kconfig"

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.

menu "Processor type and features"

choice
Expand Down
9 changes: 0 additions & 9 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -326,15 +326,6 @@ config BUG
option for embedded systems with no facilities for reporting errors.
Just say Y.

config DOUBLEFAULT
depends X86
default y if X86
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.

config ELF_CORE
default y
bool "Enable ELF core dumps" if EMBEDDED
Expand Down

0 comments on commit 4092bde

Please sign in to comment.