perf: Remove the nmi parameter from the swevent and overflow interface
[linux-2.6-block.git] / arch / x86 / kernel / cpu / perf_event.c
index 8a57f9aa8e36e6caa6d43a4281b3d4f1d550ae5b..5b86ec51534cf7fb5ad91edd59edeece14407a97 100644 (file)
@@ -1339,7 +1339,7 @@ static int x86_pmu_handle_irq(struct pt_regs *regs)
                if (!x86_perf_event_set_period(event))
                        continue;
 
-               if (perf_event_overflow(event, 1, &data, regs))
+               if (perf_event_overflow(event, &data, regs))
                        x86_pmu_stop(event, 0);
        }