lkml.org 
[lkml]   [2012]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] Fix compile failure on PA-RISC
    Date
    Linus Torvalds wrote:
    > On Sat, May 5, 2012 at 11:53 AM, Mikulas Patocka <mpatocka@redhat.com>
    wrote:
    > > What NO_IRQ problem do you mean? There is
    > > #define NO_IRQ (-1)
    > > in arch/parisc/include/asm/irq.h.
    >
    > That's the one he means.
    >
    > Switching it to zero and testing that things still work would be
    > appreciated.
    >
    > Much code already knows that NO_IRQ is supposed to be zero, and
    > there's tons of drivers that just do the (correct!) "if (!dev->irq)"
    > kind of thing.
    >
    > Any architecture that has a non-zero NO_IRQ is basically broken.
    > Always has been.

    The stuff in drivers/parisc/gsc.c doesn't look as if it would survive that
    change.

    Eike[unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2012-05-06 00:41    [W:2.601 / U:0.284 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site