[PATCH 10/12] x86 Kconfig: MCE menu

From: Dave Hansen
Date: Mon Dec 30 2013 - 13:43:35 EST



From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>

This is a fairly small one, but it still saves 3 lines in the
top-level menu.

Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
---

linux.git-davehans/arch/x86/Kconfig | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff -puN arch/x86/Kconfig~x86-mce-menu arch/x86/Kconfig
--- linux.git/arch/x86/Kconfig~x86-mce-menu 2013-12-30 10:37:46.271280927 -0800
+++ linux.git-davehans/arch/x86/Kconfig 2013-12-30 10:37:46.275281107 -0800
@@ -1295,7 +1295,7 @@ config X86_VISWS_APIC
def_bool y
depends on X86_32 && X86_VISWS

-config X86_MCE
+menuconfig X86_MCE
bool "Machine Check / overheating reporting"
default y
---help---
@@ -1328,10 +1328,6 @@ config X86_ANCIENT_MCE
systems. These typically need to be enabled explicitely on the command
line.

-config X86_MCE_THRESHOLD
- depends on X86_MCE_AMD || X86_MCE_INTEL
- def_bool y
-
config X86_MCE_INJECT
depends on X86_MCE
tristate "Machine check injector support"
@@ -1340,6 +1336,10 @@ config X86_MCE_INJECT
If you don't know what a machine check is and you don't do kernel
QA it is safe to say n.

+config X86_MCE_THRESHOLD
+ depends on X86_MCE_AMD || X86_MCE_INTEL
+ def_bool y
+
config X86_THERMAL_VECTOR
def_bool y
depends on X86_MCE_INTEL
_
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/