From 0f447a5f60ec6b4017a9bdd12f17914de7bb09d0 Mon Sep 17 00:00:00 2001 From: Vegard Nossum Date: Sat, 20 Mar 2010 13:10:11 +0100 Subject: [PATCH] x86: fix REP handling for mmiotrace Signed-off-by: Vegard Nossum --- arch/x86/kernel/cpu/intel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c index 7e1cca1..b66fa81 100644 --- a/arch/x86/kernel/cpu/intel.c +++ b/arch/x86/kernel/cpu/intel.c @@ -87,7 +87,7 @@ static void __cpuinit early_init_intel(struct cpuinfo_x86 *c) if (c->x86 == 6 && c->x86_model < 15) clear_cpu_cap(c, X86_FEATURE_PAT); -#ifdef CONFIG_KMEMCHECK +#ifdef CONFIG_KMEMCHECK || CONFIG_MMIOTRACE /* * P4s have a "fast strings" feature which causes single- * stepping REP instructions to only generate a #DB on -- 1.6.0.6