perf: Remove the nmi parameter from the swevent and overflow interface
[linux-2.6.git] / arch / sparc / kernel / perf_event.c
index 2cb0e1c..0b32f2e 100644 (file)
@@ -1277,7 +1277,7 @@ static int __kprobes perf_event_nmi_handler(struct notifier_block *self,
                if (!sparc_perf_event_set_period(event, hwc, idx))
                        continue;
 
-               if (perf_event_overflow(event, 1, &data, regs))
+               if (perf_event_overflow(event, &data, regs))
                        sparc_pmu_stop(event, 0);
        }