summaryrefslogtreecommitdiffstats
path: root/drivers/oprofile
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2011-07-08 19:34:42 +0200
committerIngo Molnar <mingo@elte.hu>2011-07-21 20:41:58 +0200
commit7fcfd1abd6480d3b9ef17f5759c175e036e835cf (patch)
tree1207684bb61efd16be56ba09b1e7dcbbae022c5f /drivers/oprofile
parentx86, perf: Make copy_from_user_nmi() a library function (diff)
downloadlinux-7fcfd1abd6480d3b9ef17f5759c175e036e835cf.tar.xz
linux-7fcfd1abd6480d3b9ef17f5759c175e036e835cf.zip
perf: Remove the nmi parameter from the oprofile_perf backend
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>
Diffstat (limited to 'drivers/oprofile')
-rw-r--r--drivers/oprofile/oprofile_perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/oprofile/oprofile_perf.c b/drivers/oprofile/oprofile_perf.c
index 59acf9ef78a4..94796f39bc47 100644
--- a/drivers/oprofile/oprofile_perf.c
+++ b/drivers/oprofile/oprofile_perf.c
@@ -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;