perf_counter: powerpc: clean up perc_counter_interrupt
authorPaul Mackerras <paulus@samba.org>
Thu, 19 Mar 2009 19:26:20 +0000 (20:26 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:30:18 +0000 (09:30 +0200)
commitdb4fb5acf20295063d1d5105e67724eb51440207
treed5f762e4110e7230bac52ce9677277c7749f6922
parent0322cd6ec504b0bf08ca7b2c3d7f43bda37d79c9
perf_counter: powerpc: clean up perc_counter_interrupt

Impact: cleanup

This updates the powerpc perf_counter_interrupt following on from the
"perf_counter: unify irq output code" patch.  Since we now use the
generic perf_counter_output code, which sets the perf_counter_pending
flag directly, we no longer need the need_wakeup variable.

This removes need_wakeup and makes perf_counter_interrupt use
get_perf_counter_pending() instead.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Orig-LKML-Reference: <20090319194234.024464535@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/kernel/perf_counter.c