x86: mce: Make CONFIG_X86_ANCIENT_MCE dependent on CONFIG_X86_MCE
authorAndi Kleen <andi@firstfloor.org>
Wed, 8 Jul 2009 22:31:37 +0000 (00:31 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 10 Jul 2009 01:39:46 +0000 (18:39 -0700)
Add a missing depency for ANCIENT_MCE. It didn't matter
in practice because the ANCIENT code wasn't compiled without
X86_MCE, but it's better to express that clearly in
Kconfig.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/Kconfig

index 356d2ec..5962b87 100644 (file)
@@ -823,7 +823,7 @@ config X86_MCE_AMD
 
 config X86_ANCIENT_MCE
        def_bool n
-       depends on X86_32
+       depends on X86_32 && X86_MCE
        prompt "Support for old Pentium 5 / WinChip machine checks"
        ---help---
          Include support for machine check handling on old Pentium 5 or WinChip