]> err.no Git - linux-2.6/commitdiff
[POWERPC] powerpc: Make 970MP detectable by oprofile
authorMike Wolf <mjw@us.ibm.com>
Tue, 21 Nov 2006 20:41:54 +0000 (14:41 -0600)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:41:02 +0000 (20:41 +1100)
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>
arch/powerpc/kernel/cputable.c

index 911ac442f44a6aa495903bbafc9c5c11e3d0bb79..0b01faa3e7ec76c7782001cbc312a1aad586522c 100644 (file)
@@ -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",
        },