projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf_counter: Fix atomic_set vs. atomic64_t type mismatch
[deliverable/linux.git]
/
kernel
/
perf_counter.c
diff --git
a/kernel/perf_counter.c
b/kernel/perf_counter.c
index 29b685f551aac6aa2f5bee8e1356755ae5627001..8d14a733f222b65e34ccefd671a10ff4e6afffcf 100644
(file)
--- a/
kernel/perf_counter.c
+++ b/
kernel/perf_counter.c
@@
-1283,7
+1283,7
@@
static void perf_ctx_adjust_freq(struct perf_counter_context *ctx)
if (!interrupts) {
perf_disable();
counter->pmu->disable(counter);
- atomic_set(&hwc->period_left, 0);
+ atomic
64
_set(&hwc->period_left, 0);
counter->pmu->enable(counter);
perf_enable();
}
This page took
0.028299 seconds
and
5
git commands to generate.