diff options
Diffstat (limited to 'arch/powerpc/kernel/perf_counter.c')
-rw-r--r-- | arch/powerpc/kernel/perf_counter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/perf_counter.c b/arch/powerpc/kernel/perf_counter.c index 0e33d27cd464..5008762e8bf4 100644 --- a/arch/powerpc/kernel/perf_counter.c +++ b/arch/powerpc/kernel/perf_counter.c | |||
@@ -653,7 +653,6 @@ void perf_counter_do_pending(void) | |||
653 | struct cpu_hw_counters *cpuhw = &__get_cpu_var(cpu_hw_counters); | 653 | struct cpu_hw_counters *cpuhw = &__get_cpu_var(cpu_hw_counters); |
654 | struct perf_counter *counter; | 654 | struct perf_counter *counter; |
655 | 655 | ||
656 | set_perf_counter_pending(0); | ||
657 | for (i = 0; i < cpuhw->n_counters; ++i) { | 656 | for (i = 0; i < cpuhw->n_counters; ++i) { |
658 | counter = cpuhw->counter[i]; | 657 | counter = cpuhw->counter[i]; |
659 | if (counter && counter->wakeup_pending) { | 658 | if (counter && counter->wakeup_pending) { |
@@ -811,7 +810,7 @@ static void perf_counter_interrupt(struct pt_regs *regs) | |||
811 | perf_counter_do_pending(); | 810 | perf_counter_do_pending(); |
812 | irq_exit(); | 811 | irq_exit(); |
813 | } else { | 812 | } else { |
814 | set_perf_counter_pending(1); | 813 | set_perf_counter_pending(); |
815 | } | 814 | } |
816 | } | 815 | } |
817 | } | 816 | } |