MIPS: Oprofile: Rename cpu_type from godson2 to loongson2
authorWu Zhangjin <wuzhangjin@gmail.com>
Wed, 21 Oct 2009 14:51:46 +0000 (22:51 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 2 Nov 2009 11:00:08 +0000 (12:00 +0100)
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 <wuzhangjin@gmail.com>
Acked-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/op_model_loongson2.c

index deed1d5d4982b1ecf5bd6f0ad0e66dda7583b917..575cd14734759314f3da89e87705ea14a224fbf8 100644 (file)
@@ -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)