Added number of PMRs to cpu_specs

Kumar Gala kumar.gala at
Mon Nov 1 16:42:34 EST 2004


Andy F. is adding 'proper' oprofile support to PPC32.  I was wondering 
if you had any issue if we added the # of PMRs a cpu has to the 
cpu_specs table.  I figured it better that we keep all such info in a 
single place, rather than reproducing PVR based checks in multiple 

Note, PPC64 currently does a PVR based check in arch/ppc64/common.c.  I 
would recommend that model->num_counters come from cpu_specs and 
oprof_ppc64_ops.cpu_type be composed from cpu_specs.cpu_name.

- kumar

More information about the Linuxppc-dev mailing list