Paul Mackerras 90c8f95453 perf_counter: powerpc: Fix two compile warnings
This fixes a couple of compile warnings that crept into the powerpc
perf_counter code recently:

   CC      arch/powerpc/kernel/perf_counter.o
 arch/powerpc/kernel/perf_counter.c: In function 'record_and_restart':
 arch/powerpc/kernel/perf_counter.c:1016: warning: unused variable 'addr'
 arch/powerpc/kernel/perf_counter.c: In function 'hw_perf_counter_init':
 arch/powerpc/kernel/perf_counter.c:891: warning: 'ev' may be used uninitialized in this function

Stephen Rothwell reported this against linux-next as well.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <18998.12884.787039.22202@cargo.ozlabs.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-06-15 16:12:25 +02:00
..
2008-12-21 14:21:16 +11:00
2008-12-21 14:21:16 +11:00
2008-06-30 22:31:00 +10:00
2009-03-03 13:30:03 +11:00
2008-12-31 18:07:42 -05:00
2008-11-05 22:08:28 +11:00
2009-05-15 16:43:42 +10:00
2009-05-15 16:43:42 +10:00
2009-04-02 19:04:51 -07:00
2008-12-21 14:21:16 +11:00