From 1d823323f2e92287a07a25570aebf0b2d3864703 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Thu, 5 Nov 2009 17:02:03 +0900 Subject: 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 --- arch/sh/kernel/cpu/sh4/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/sh/kernel/cpu/sh4/Makefile') 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 -- cgit v1.2.1