/* external IRQs operations: mask/unmask and clear on PERF external irq control register.  */
static void bcm63xx_external_irq_mask(unsigned int irq)
/* external IRQs operations: mask/unmask and clear on PERF external irq control register.  */
static void bcm63xx_external_irq_mask(unsigned int irq)
{
	u32 reg;
	irq -= IRQ_EXT_BASE;
	reg = bcm_perf_readl(PERF_EXTIRQ_CFG_REG);
	reg &= ~EXTIRQ_CFG_MASK(irq);
	bcm_perf_writel(reg, PERF_EXTIRQ_CFG_REG);
}