reg = mpic_irq_read(irq - mpic->irq_offset, MPIC_IRQ_VECTOR_PRI) & MPIC_VECPRI_PRIORITY_MASK; 
reg = mpic_irq_read(irq - mpic->irq_offset,MPIC_IRQ_VECTOR_PRI) & ~MPIC_VECPRI_PRIORITY_MASK; 
void mpic_irq_set_priority(unsigned int irq, unsigned int pri){	int is_ipi;	struct mpic *mpic = mpic_find(irq, &is_ipi);	unsigned long flags;	u32 reg;	spin_lock_irqsave(&mpic_lock, flags);	if (is_ipi) {		reg = mpic_ipi_read(irq - mpic->ipi_offset) & MPIC_VECPRI_PRIORITY_MASK;		mpic_ipi_write(irq - mpic->ipi_offset,			       reg | (pri << MPIC_VECPRI_PRIORITY_SHIFT));	} else {		reg = mpic_irq_read(irq - mpic->irq_offset, MPIC_IRQ_VECTOR_PRI)			& MPIC_VECPRI_PRIORITY_MASK;		mpic_irq_write(irq - mpic->irq_offset, MPIC_IRQ_VECTOR_PRI,			       reg | (pri << MPIC_VECPRI_PRIORITY_SHIFT));	}	spin_unlock_irqrestore(&mpic_lock, flags);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/e53566409c38d38680cc02299fa9fa5fe8623e9f/mpic.c/clean/arch/powerpc/sysdev/mpic.c