powerpc/perf_counter: Add support for POWER6
authorPaul Mackerras <paulus@samba.org>
Fri, 9 Jan 2009 10:05:35 +0000 (21:05 +1100)
committerPaul Mackerras <paulus@samba.org>
Sat, 10 Jan 2009 05:35:01 +0000 (16:35 +1100)
commitf78628374a13bc150db77c6e02d4f2c0a7f932ef
tree2b25cd520d8fcc00258621fb50772e75091eb4ce
parent16b067993dee3dfde61b20027e0b168dc06201ee
powerpc/perf_counter: Add support for POWER6

This adds the back-end for the PMU on the POWER6 processor.
Fortunately, the event selection hardware is somewhat simpler on
POWER6 than on other POWER family processors, so the constraints
fit into only 32 bits.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/perf_counter.c
arch/powerpc/kernel/power6-pmu.c [new file with mode: 0644]