All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: MIPS: oprofile: Distinguish R14000 from R12000
@ 2015-05-25  4:15 Joshua Kinard
  2015-06-01 16:15 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Kinard @ 2015-05-25  4:15 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Linux MIPS List

From: Joshua Kinard <kumba@gentoo.org>

Currently, arch/mips/oprofile/op_model_mipsxx.c treats an R14000 as an
R12000.  This patch distinguishes one from the other.

Signed-off-by: Joshua Kinard <kumba@gentoo.org>
---
 op_model_mipsxx.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

linux-mips-oprofile-fix-r14k.patch
diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c
index 6a6e2cc..75f1967 100644
--- a/arch/mips/oprofile/op_model_mipsxx.c
+++ b/arch/mips/oprofile/op_model_mipsxx.c
@@ -408,10 +408,13 @@ static int __init mipsxx_init(void)
 		break;
 
 	case CPU_R12000:
-	case CPU_R14000:
 		op_model_mipsxx_ops.cpu_type = "mips/r12000";
 		break;
 
+	case CPU_R14000:
+		op_model_mipsxx_ops.cpu_type = "mips/r14000";
+		break;
+
 	case CPU_R16000:
 		op_model_mipsxx_ops.cpu_type = "mips/r16000";
 		break;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-01 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-25  4:15 [PATCH]: MIPS: oprofile: Distinguish R14000 from R12000 Joshua Kinard
2015-06-01 16:15 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.