[PATCH] [2/4] powerpc: Add PMC type to cputable

Olof Johansson olof at lixom.net
Fri Jan 26 08:31:38 EST 2007


On Thu, Jan 25, 2007 at 03:00:51PM -0600, Andy Fleming wrote:
> 
> On Jan 25, 2007, at 02:19, Olof Johansson wrote:
> 
> >@@ -207,6 +216,8 @@ static struct cpu_spec cpu_specs[] = {
> > 		.icache_bsize		= 128,
> > 		.dcache_bsize		= 128,
> > 		.num_pmcs		= 8,
> >+		.pmc_type		= PPC_PMC_IBM,
> >+		.pmc_type		= PPC_PMC_IBM,
> > 		.cpu_setup		= __setup_cpu_ppc970,
> > 		.cpu_restore		= __restore_cpu_ppc970,
> > 		.oprofile_cpu_type	= "ppc64/970",
> 
> 
> My guess is you only really wanted one of those pmc_types.  :)

Grmbl, yes. I took it out of one version of the patch, it snuck in
again. Thanks!


-Olof



More information about the Linuxppc-dev mailing list