/* Disable counting by a PMC. Note that the pmc argument is 0-based here, not 1-based.  */
static void mpc7450_disable_pmc(unsigned int pmc, unsigned long mmcr[])
/* Disable counting by a PMC. Note that the pmc argument is 0-based here, not 1-based.  */
static void mpc7450_disable_pmc(unsigned int pmc, unsigned long mmcr[])
{
	if (pmc <= 1)
		mmcr[0] &= ~(pmcsel_mask[pmc] << pmcsel_shift[pmc]);
	else
		mmcr[1] &= ~(pmcsel_mask[pmc] << pmcsel_shift[pmc]);
}