diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 07:30:54 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:54 -0500 |
commit | 0a049bb0ab807b4a95dce9cd0b603c01c199a287 (patch) | |
tree | 2a89d562b28844a4b496fe8db8e307df2174f4a4 /arch/x86/Kconfig.cpu | |
parent | d2499d8b6c94df02629631807dd96deae7aa7637 (diff) |
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 <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/Kconfig.cpu')
-rw-r--r-- | arch/x86/Kconfig.cpu | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index c30162202dc4..69e2ee44fdff 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu | |||
@@ -399,3 +399,7 @@ config X86_MINIMUM_CPU_FAMILY | |||
399 | default "4" if X86_32 && (X86_XADD || X86_CMPXCHG || X86_BSWAP || X86_WP_WORKS_OK) | 399 | default "4" if X86_32 && (X86_XADD || X86_CMPXCHG || X86_BSWAP || X86_WP_WORKS_OK) |
400 | default "3" | 400 | default "3" |
401 | 401 | ||
402 | config X86_DEBUGCTLMSR | ||
403 | bool | ||
404 | depends on !(M586MMX || M586TSC || M586 || M486 || M386) | ||
405 | default y | ||