summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorAndi Kleen2009-07-09 00:31:37 +0200
committerH. Peter Anvin2009-07-10 03:39:46 +0200
commitc31d96338a6041520ba5f1b6a4a5012ef00686b3 (patch)
treedf0d2ee5b25c06cc32e32c2f13a38d92e971d22a /arch/x86/Kconfig
parentx86, mce: use atomic_inc_return() instead of add by 1 (diff)
downloadkernel-qcow2-linux-c31d96338a6041520ba5f1b6a4a5012ef00686b3.tar.gz
kernel-qcow2-linux-c31d96338a6041520ba5f1b6a4a5012ef00686b3.tar.xz
kernel-qcow2-linux-c31d96338a6041520ba5f1b6a4a5012ef00686b3.zip
x86: mce: Make CONFIG_X86_ANCIENT_MCE dependent on CONFIG_X86_MCE
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>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 356d2ec8e2fb..5962b872a7ad 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -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