On Tue, Dec 20, 2005 at 06:32:19AM +0100, Maxime Bizon wrote: > > I was unable to get my R4KECr2 board working with CONFIG_CPU_MIPSR2 & > CONFIG_IRQ_CPU, irq delivery is not working. > > local_irq_restore() logic is to check that "flags" is non zero, and > enable irq accordingly. > > But "flags" comes directly from di, which according to mips instruction > set, saves whole status content, not just IE bit. There are less local_irq_save than local_irq_restore calls, so is the preferable place for the fix. Applied, Ralf