From: Paul Mundt Date: Wed, 27 Sep 2006 05:30:11 +0000 (+0900) Subject: sh: Add SH7750S/SH7091 rules for SH7750 oprofile driver. X-Git-Tag: MMI-PSA29.97-13-9~47269^2~82 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=555ef1963029d19d2367acd09f6b9a6a0056f217;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git sh: Add SH7750S/SH7091 rules for SH7750 oprofile driver. Update oprofile build rules for additional subtypes, particularly SH7750S/SH7091. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/oprofile/Makefile b/arch/sh/oprofile/Makefile index 686738d4aa3c..1f25d9bb7538 100644 --- a/arch/sh/oprofile/Makefile +++ b/arch/sh/oprofile/Makefile @@ -7,7 +7,11 @@ DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \ timer_int.o ) profdrvr-y := op_model_null.o + +# SH7750-style performance counters exist across 7750/7750S and 7091. +profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750S) := op_model_sh7750.o profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750) := op_model_sh7750.o +profdrvr-$(CONFIG_CPU_SUBTYPE_SH7091) := op_model_sh7750.o oprofile-y := $(DRIVER_OBJS) $(profdrvr-y)