]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf: Remove the nmi parameter from the oprofile_perf backend
authorWill Deacon <will.deacon@arm.com>
Fri, 8 Jul 2011 17:34:42 +0000 (18:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jul 2011 18:41:58 +0000 (20:41 +0200)
In commit a8b0ca17b80e ("perf: Remove the nmi parameter from the
swevent and overflow interface") one site was overlooked.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110708173442.GB31972@e102144-lin.cambridge.arm.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/oprofile/oprofile_perf.c

index 59acf9ef78a42a33870300c307ef97a70b3dc087..94796f39bc47caafcb5771ba693b64e9691880ad 100644 (file)
@@ -31,7 +31,7 @@ static int num_counters;
 /*
  * Overflow callback for oprofile.
  */
-static void op_overflow_handler(struct perf_event *event, int unused,
+static void op_overflow_handler(struct perf_event *event,
                        struct perf_sample_data *data, struct pt_regs *regs)
 {
        int id;