summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2009-01-10 06:34:07 +0100
committerPaul Mackerras <paulus@samba.org>2009-01-10 06:34:07 +0100
commit16b067993dee3dfde61b20027e0b168dc06201ee (patch)
treed9a2370ad097306bb19ff297e191b53c6c89963c /arch/powerpc/kernel/Makefile
parentpowerpc/perf_counter: Add generic support for POWER-family PMU hardware (diff)
downloadlinux-16b067993dee3dfde61b20027e0b168dc06201ee.tar.xz
linux-16b067993dee3dfde61b20027e0b168dc06201ee.zip
powerpc/perf_counter: Add support for PPC970 family
This adds the back-end for the PMU on the PPC970 family. The PPC970 allows events from the ISU to be selected in two different ways. Rather than use alternative event codes to express this, we instead use a single encoding for ISU events and express the resulting constraint (that you can't select events from all three of FPU/IFU/VPU, ISU and IDU/STS at the same time, since they all come in through only 2 multiplexers) using a NAND constraint field, and work out which multiplexer is used for ISU events at compute_mmcr time. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r--arch/powerpc/kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index fde190bbb2bd..45798f6fb137 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -94,7 +94,7 @@ obj-$(CONFIG_AUDIT) += audit.o
obj64-$(CONFIG_AUDIT) += compat_audit.o
obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
-obj-$(CONFIG_PERF_COUNTERS) += perf_counter.o
+obj-$(CONFIG_PERF_COUNTERS) += perf_counter.o ppc970-pmu.o
obj-$(CONFIG_8XX_MINIMAL_FPEMU) += softemu8xx.o