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

Andy Fleming afleming at freescale.com
Fri Jan 26 08:00:51 EST 2007


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.  :)



More information about the Linuxppc-dev mailing list