summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMike Wolf <mjw@us.ibm.com>2006-11-21 14:41:54 -0600
committerPaul Mackerras <paulus@samba.org>2006-12-04 20:41:02 +1100
commitfecb352f6bb86564b24ecbf7e5bfec09346b9327 (patch)
tree486f9fbe2dd71b7dfb7ae68b69d0b696d28775d8 /arch
parent1c72db14fe77c2aa2c18be0fa2594f54d7413147 (diff)
[POWERPC] powerpc: Make 970MP detectable by oprofile
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> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/cputable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 911ac442f44a..0b01faa3e7ec 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -225,7 +225,7 @@ static struct cpu_spec cpu_specs[] = {
.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",
},