From 291eb15594cf1cf2ca362e48a65f0df2f3c7f5b8 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Wed, 27 Sep 2006 14:30:11 +0900 Subject: [PATCH] --- yaml --- r: 36245 b: refs/heads/master c: 555ef1963029d19d2367acd09f6b9a6a0056f217 h: refs/heads/master i: 36243: 1bb6b3860b56a5851aa7c31562c2fe10b2a6a684 v: v3 --- [refs] | 2 +- trunk/arch/sh/oprofile/Makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0c34b0c0b234..af9d1ce31b8a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a80fd21e52cc09ff1e4d36de5781173a5b87b2dc +refs/heads/master: 555ef1963029d19d2367acd09f6b9a6a0056f217 diff --git a/trunk/arch/sh/oprofile/Makefile b/trunk/arch/sh/oprofile/Makefile index 686738d4aa3c..1f25d9bb7538 100644 --- a/trunk/arch/sh/oprofile/Makefile +++ b/trunk/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)