powerpc, perf_counter: Fix performance counter event types
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Fri, 12 Jun 2009 06:34:54 +0000 (12:04 +0530)
committerIngo Molnar <mingo@elte.hu>
Fri, 12 Jun 2009 12:21:11 +0000 (14:21 +0200)
commit4c921126fe553440261f56691c5f60fbaaa486d6
tree6a4d50983e7d3629ab4759b53703bdac6713808d
parentdff5da6d09daaab40a8741dce0ed3c2e94079de2
powerpc, perf_counter: Fix performance counter event types

Sachin Sant reported these compiler errors:

 CC      arch/powerpc/kernel/power7-pmu.o
arch/powerpc/kernel/power7-pmu.c:297: error: PERF_COUNT_CPU_CYCLES undeclared here (not in a function)

Which happened because a last-minute rename of symbols crossed with
the Power7 support patch.

Fix this by using the new symbol names.

Reported-by: Sachin Sant <sachinp@in.ibm.com>
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@ozlabs.org
LKML-Reference: <1244788494.5554.1.camel@ht.satnam>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/kernel/power7-pmu.c