diff options
Diffstat (limited to 'kernel/perf_counter.c')
-rw-r--r-- | kernel/perf_counter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c index 7373b96bc36c..5ea0240adab2 100644 --- a/kernel/perf_counter.c +++ b/kernel/perf_counter.c | |||
@@ -1281,7 +1281,7 @@ static unsigned int perf_poll(struct file *file, poll_table *wait) | |||
1281 | static void perf_counter_reset(struct perf_counter *counter) | 1281 | static void perf_counter_reset(struct perf_counter *counter) |
1282 | { | 1282 | { |
1283 | (void)perf_counter_read(counter); | 1283 | (void)perf_counter_read(counter); |
1284 | atomic_set(&counter->count, 0); | 1284 | atomic64_set(&counter->count, 0); |
1285 | perf_counter_update_userpage(counter); | 1285 | perf_counter_update_userpage(counter); |
1286 | } | 1286 | } |
1287 | 1287 | ||