Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fecb352f authored by Mike Wolf's avatar Mike Wolf Committed by Paul Mackerras
Browse files

[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: default avatarMike Wolf <mjw@us.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 1c72db14
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -225,7 +225,7 @@ static struct cpu_spec cpu_specs[] = {
		.num_pmcs		= 8,
		.num_pmcs		= 8,
		.cpu_setup		= __setup_cpu_ppc970MP,
		.cpu_setup		= __setup_cpu_ppc970MP,
		.cpu_restore		= __restore_cpu_ppc970,
		.cpu_restore		= __restore_cpu_ppc970,
		.oprofile_cpu_type	= "ppc64/970",
		.oprofile_cpu_type	= "ppc64/970MP",
		.oprofile_type		= PPC_OPROFILE_POWER4,
		.oprofile_type		= PPC_OPROFILE_POWER4,
		.platform		= "ppc970",
		.platform		= "ppc970",
	},
	},