Re: [RFC patch 4/8] genirq: generic chip: Cache per irq bit mask

2013-05-03 Thread Thomas Gleixner
On Fri, 3 May 2013, Russell King - ARM Linux wrote: > On Fri, May 03, 2013 at 09:50:50PM -, Thomas Gleixner wrote: > > - u32 mask = ~(1 << (d->irq - gc->irq_base)); > > + u32 mask = ~(d->mask); > > I suspect the above changes are all a result of a search-and-replace > which results in the

Re: [RFC patch 4/8] genirq: generic chip: Cache per irq bit mask

2013-05-03 Thread Russell King - ARM Linux
On Fri, May 03, 2013 at 09:50:50PM -, Thomas Gleixner wrote: > - u32 mask = ~(1 << (d->irq - gc->irq_base)); > + u32 mask = ~(d->mask); I suspect the above changes are all a result of a search-and-replace which results in the cosmetic parens remaining. Would be nice to get rid of them

[RFC patch 4/8] genirq: generic chip: Cache per irq bit mask

2013-05-03 Thread Thomas Gleixner
Cache the per irq bit mask instead of recalculating it over and over. Signed-off-by: Thomas Gleixner --- include/linux/irq.h |4 kernel/irq/generic-chip.c | 23 ++- 2 files changed, 18 insertions(+), 9 deletions(-) Index: linux-2.6/include/linux/irq.h ==