From: Roland McGrath Date: Wed, 30 Jan 2008 12:30:54 +0000 (+0100) Subject: x86: debugctlmsr kconfig X-Git-Tag: v2.6.25-rc1~1143^2~689 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0a049bb0ab807b4a95dce9cd0b603c01c199a287;p=linux-2.6-omap-h63xx.git x86: debugctlmsr kconfig This adds the (internal) Kconfig macro CONFIG_X86_DEBUGCTLMSR, to be defined when configuring to support only hardware that definitely supports MSR_IA32_DEBUGCTLMSR with the BTF flag. The Intel documentation says "P6 family" and later processors all have it. I think the Kconfig dependencies are right to have it set for those and unset for others (i.e., when 586 and earlier are supported). Signed-off-by: Roland McGrath Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index c30162202dc..69e2ee44fdf 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu @@ -399,3 +399,7 @@ config X86_MINIMUM_CPU_FAMILY default "4" if X86_32 && (X86_XADD || X86_CMPXCHG || X86_BSWAP || X86_WP_WORKS_OK) default "3" +config X86_DEBUGCTLMSR + bool + depends on !(M586MMX || M586TSC || M586 || M486 || M386) + default y