diff options
-rw-r--r-- | arch/x86/kernel/cpu/perf_event_intel_ds.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_intel_ds.c b/arch/x86/kernel/cpu/perf_event_intel_ds.c index 5db1c7755548..0e3a9c73187d 100644 --- a/arch/x86/kernel/cpu/perf_event_intel_ds.c +++ b/arch/x86/kernel/cpu/perf_event_intel_ds.c | |||
@@ -1232,10 +1232,7 @@ static void intel_pmu_drain_pebs_nhm(struct pt_regs *iregs) | |||
1232 | 1232 | ||
1233 | bit = find_first_bit((unsigned long *)&pebs_status, | 1233 | bit = find_first_bit((unsigned long *)&pebs_status, |
1234 | x86_pmu.max_pebs_events); | 1234 | x86_pmu.max_pebs_events); |
1235 | if (WARN(bit >= x86_pmu.max_pebs_events, | 1235 | if (bit >= x86_pmu.max_pebs_events) |
1236 | "PEBS record without PEBS event! status=%Lx pebs_enabled=%Lx active_mask=%Lx", | ||
1237 | (unsigned long long)p->status, (unsigned long long)cpuc->pebs_enabled, | ||
1238 | *(unsigned long long *)cpuc->active_mask)) | ||
1239 | continue; | 1236 | continue; |
1240 | 1237 | ||
1241 | /* | 1238 | /* |