summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorMike Wolf <mjw@us.ibm.com>2006-11-21 23:41:54 +0300
committerPaul Mackerras <paulus@samba.org>2006-12-04 12:41:02 +0300
commitfecb352f6bb86564b24ecbf7e5bfec09346b9327 (patch)
tree486f9fbe2dd71b7dfb7ae68b69d0b696d28775d8 /arch/powerpc/kernel
parent1c72db14fe77c2aa2c18be0fa2594f54d7413147 (diff)
downloadlinux-fecb352f6bb86564b24ecbf7e5bfec09346b9327.tar.xz
[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/powerpc/kernel')
-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",
},