Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147386
b: refs/heads/rpi-3.18.y
c: 26816c2
h: refs/heads/rpi-3.18.y
  • Loading branch information
Robert Richter authored and Ingo Molnar committed Apr 29, 2009
1 parent 0de1c19 commit b71ff00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/rpi-3.18.y: dee5d9067ca78b317538fd67930be4e09a83dbc5
refs/heads/rpi-3.18.y: 26816c287e13eedc67bc4ed0cd40c138314b7c7d
6 changes: 3 additions & 3 deletions trunk/arch/x86/kernel/cpu/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ static DEFINE_PER_CPU(u64, prev_left[X86_PMC_IDX_MAX]);
* To be called with the counter disabled in hw:
*/
static void
__hw_perf_counter_set_period(struct perf_counter *counter,
x86_perf_counter_set_period(struct perf_counter *counter,
struct hw_perf_counter *hwc, int idx)
{
s64 left = atomic64_read(&hwc->period_left);
Expand Down Expand Up @@ -642,7 +642,7 @@ static int x86_pmu_enable(struct perf_counter *counter)
*/
barrier();

__hw_perf_counter_set_period(counter, hwc, idx);
x86_perf_counter_set_period(counter, hwc, idx);
__x86_pmu_enable(counter, hwc, idx);

return 0;
Expand Down Expand Up @@ -731,7 +731,7 @@ static void perf_save_and_restart(struct perf_counter *counter)
int idx = hwc->idx;

x86_perf_counter_update(counter, hwc, idx);
__hw_perf_counter_set_period(counter, hwc, idx);
x86_perf_counter_set_period(counter, hwc, idx);

if (counter->state == PERF_COUNTER_STATE_ACTIVE)
__x86_pmu_enable(counter, hwc, idx);
Expand Down

0 comments on commit b71ff00

Please sign in to comment.