From: Wu Zhangjin Date: Wed, 21 Oct 2009 14:51:46 +0000 (+0800) Subject: MIPS: Oprofile: Rename cpu_type from godson2 to loongson2 X-Git-Tag: v2.6.32-rc6~2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=55f4e1d4fe88f16f773ba5bb31ce8c1ae63724af;p=profile%2Fivi%2Fkernel-x86-ivi.git MIPS: Oprofile: Rename cpu_type from godson2 to loongson2 Unify the naming method between kernel and the user-space oprofile tool. Because loongson is used instead of godson in most of the places, we agreed to use loongson instead, which will simplify future maintenance. Signed-off-by: Wu Zhangjin Acked-by: Robert Richter Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/oprofile/op_model_loongson2.c b/arch/mips/oprofile/op_model_loongson2.c index deed1d5d498..575cd147347 100644 --- a/arch/mips/oprofile/op_model_loongson2.c +++ b/arch/mips/oprofile/op_model_loongson2.c @@ -22,7 +22,7 @@ * otherwise, the oprofile tool will not recognize this and complain about * "cpu_type 'unset' is not valid". */ -#define LOONGSON2_CPU_TYPE "mips/godson2" +#define LOONGSON2_CPU_TYPE "mips/loongson2" #define LOONGSON2_COUNTER1_EVENT(event) ((event & 0x0f) << 5) #define LOONGSON2_COUNTER2_EVENT(event) ((event & 0x0f) << 9)