diff options
Diffstat (limited to 'drivers/oprofile')
-rw-r--r-- | drivers/oprofile/oprofile_perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/oprofile/oprofile_perf.c b/drivers/oprofile/oprofile_perf.c index b17235a24a4d..79c0005134a1 100644 --- a/drivers/oprofile/oprofile_perf.c +++ b/drivers/oprofile/oprofile_perf.c | |||
@@ -77,7 +77,7 @@ static int op_create_counter(int cpu, int event) | |||
77 | return 0; | 77 | return 0; |
78 | 78 | ||
79 | pevent = perf_event_create_kernel_counter(&counter_config[event].attr, | 79 | pevent = perf_event_create_kernel_counter(&counter_config[event].attr, |
80 | cpu, -1, | 80 | cpu, NULL, |
81 | op_overflow_handler); | 81 | op_overflow_handler); |
82 | 82 | ||
83 | if (IS_ERR(pevent)) | 83 | if (IS_ERR(pevent)) |