On Wed, 03 Sep 2008 14:13:26 +0400, Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> wrote: > > The IOC interrupt status register on RBTX49XX only have 8 bits. Use > > 8-bit version of __fls() to optimize interrupt handlers. > > > > But doesn't the patch also change the result of > toshiba_rbtx49{27|38}_irq_nested() if the register reads back as 0? Yes, now _irq_nested() returns -1 if no interrupts, and it will be counted as spurious interrupts. I think this is a little bonus ;) --- Atsushi Nemoto