Re: [PATCH] ipic: change ack operation that register is accessed only when needed

2007-12-03 Thread Benjamin Herrenschmidt
> static void ipic_ack_irq(unsigned int virq) > { > - struct ipic *ipic = ipic_from_irq(virq); > unsigned int src = ipic_irq_to_hw(virq); > - unsigned long flags; > - u32 temp; > > - spin_lock_irqsave(&ipic_lock, flags); > + /* Only external interrupts in edge mode su

[PATCH] ipic: change ack operation that register is accessed only when needed

2007-12-03 Thread Li Yang
Only external interrupts in edge detect mode support ack operation. Therefore, in most cases ack is not needed. The patch makes ipic ack only when it's needed. This could boost over all system performance. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Replaces patch: [PATCH 7/9] ipic: clean up