linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Mike Wolf <mjw@us.ibm.com>
To: linuxppc-dev@ozlabs.org
Subject: [PATCH] powerpc: Make 970MP detectable by oprofile
Date: Tue, 21 Nov 2006 14:41:54 -0600	[thread overview]
Message-ID: <1164141715.9752.5.camel@localhost> (raw)

Change the oprofile_cpu_type in cputables.c to be ppc64/970MP.  Oprofile
needs to distinquish the MP from other 970 processors so it can add some
new counters specific to the 970MP

Signed-off-by: Mike Wolf <mjw@us.ibm.com>

---diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 911ac44..0b01faa 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -225,7 +225,7 @@ #ifdef CONFIG_PPC64
 		.num_pmcs		= 8,
 		.cpu_setup		= __setup_cpu_ppc970MP,
 		.cpu_restore		= __restore_cpu_ppc970,
-		.oprofile_cpu_type	= "ppc64/970",
+		.oprofile_cpu_type	= "ppc64/970MP",
 		.oprofile_type		= PPC_OPROFILE_POWER4,
 		.platform		= "ppc970",
 	},

             reply	other threads:[~2006-11-21 20:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21 20:41 Mike Wolf [this message]
2006-11-22  0:47 ` [PATCH] powerpc: Make 970MP detectable by oprofile Segher Boessenkool
2006-11-22 16:48 ` Mike Wolf
2006-11-22 19:05   ` Olof Johansson
2006-11-22 19:42     ` Mike Wolf
2006-11-23 14:28       ` Segher Boessenkool

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1164141715.9752.5.camel@localhost \
    --to=mjw@us.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).