diff options
author | Mike Wolf <mjw@us.ibm.com> | 2006-11-21 15:41:54 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 04:41:02 -0500 |
commit | fecb352f6bb86564b24ecbf7e5bfec09346b9327 (patch) | |
tree | 486f9fbe2dd71b7dfb7ae68b69d0b696d28775d8 /arch/powerpc | |
parent | 1c72db14fe77c2aa2c18be0fa2594f54d7413147 (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/powerpc')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 2 |
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[] = { | |||
225 | .num_pmcs = 8, | 225 | .num_pmcs = 8, |
226 | .cpu_setup = __setup_cpu_ppc970MP, | 226 | .cpu_setup = __setup_cpu_ppc970MP, |
227 | .cpu_restore = __restore_cpu_ppc970, | 227 | .cpu_restore = __restore_cpu_ppc970, |
228 | .oprofile_cpu_type = "ppc64/970", | 228 | .oprofile_cpu_type = "ppc64/970MP", |
229 | .oprofile_type = PPC_OPROFILE_POWER4, | 229 | .oprofile_type = PPC_OPROFILE_POWER4, |
230 | .platform = "ppc970", | 230 | .platform = "ppc970", |
231 | }, | 231 | }, |