summaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/Makefile
diff options
context:
space:
mode:
authorZhigang Lu2014-01-27 08:11:07 +0100
committerChris Metcalf2014-03-07 17:19:47 +0100
commit8e3441ebab48c3537b1a9ae06fb7616a3332bd35 (patch)
tree6b2a748d7952827e121dd78aa0f4c6dcb449dfb9 /arch/tile/kernel/Makefile
parenttile: don't use __get_cpu_var() with structure-typed arguments (diff)
downloadkernel-qcow2-linux-8e3441ebab48c3537b1a9ae06fb7616a3332bd35.tar.gz
kernel-qcow2-linux-8e3441ebab48c3537b1a9ae06fb7616a3332bd35.tar.xz
kernel-qcow2-linux-8e3441ebab48c3537b1a9ae06fb7616a3332bd35.zip
tile: Add support for handling PMC hardware
The PMC module is used by perf_events, oprofile and watchdogs. Signed-off-by: Zhigang Lu <zlu@tilera.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/Makefile')
-rw-r--r--arch/tile/kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/tile/kernel/Makefile b/arch/tile/kernel/Makefile
index 27a2bf39dae8..71d835365c73 100644
--- a/arch/tile/kernel/Makefile
+++ b/arch/tile/kernel/Makefile
@@ -25,6 +25,7 @@ obj-$(CONFIG_PCI) += pci_gx.o
else
obj-$(CONFIG_PCI) += pci.o
endif
+obj-$(CONFIG_USE_PMC) += pmc.o
obj-$(CONFIG_TILE_USB) += usb.o
obj-$(CONFIG_TILE_HVGLUE_TRACE) += hvglue_trace.o
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount_64.o