On Fri, Sep 2, 2016 at 1:43 PM, Julia Lawall <julia.law...@lip6.fr> wrote: > > Like this?
Sure. > Is it always correct to replace return NO_IRQ by return 0? On platforms that define it to 0, like powerpc, yes. On arm, c6x, mn10300, parisc and sparc it would need more work. > Completely untested patch below. Looks fine, but the ppc people should test it (although it really should generate the exact same code, unless there was some odd conversion case). Linus