summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh4/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-11-05 17:02:03 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-11-05 17:02:03 +0900
commit1d823323f2e92287a07a25570aebf0b2d3864703 (patch)
treee14c41afd0264dabbfd812322b472a8df40c55c2 /arch/sh/kernel/cpu/sh4/Makefile
parent830fafecc211bef5bc6e253ab7e39c9e7560f758 (diff)
downloadblackbird-op-linux-1d823323f2e92287a07a25570aebf0b2d3864703.tar.gz
blackbird-op-linux-1d823323f2e92287a07a25570aebf0b2d3864703.zip
sh: perf events: Add support for SH7750-style counters.
This adds perf events support for the SH7750/SH7750S/SH7091 performance counters. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4/Makefile')
-rw-r--r--arch/sh/kernel/cpu/sh4/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4/Makefile b/arch/sh/kernel/cpu/sh4/Makefile
index 203b18347b83..c39c1235db91 100644
--- a/arch/sh/kernel/cpu/sh4/Makefile
+++ b/arch/sh/kernel/cpu/sh4/Makefile
@@ -9,6 +9,11 @@ obj-$(CONFIG_HIBERNATION) += $(addprefix ../sh3/, swsusp.o)
obj-$(CONFIG_SH_FPU) += fpu.o softfloat.o
obj-$(CONFIG_SH_STORE_QUEUES) += sq.o
+# Perf events
+obj-$(CONFIG_CPU_SUBTYPE_SH7750) += perf_event.o
+obj-$(CONFIG_CPU_SUBTYPE_SH7750S) += perf_event.o
+obj-$(CONFIG_CPU_SUBTYPE_SH7091) += perf_event.o
+
# CPU subtype setup
obj-$(CONFIG_CPU_SUBTYPE_SH7750) += setup-sh7750.o
obj-$(CONFIG_CPU_SUBTYPE_SH7750R) += setup-sh7750.o
OpenPOWER on IntegriCloud