• A
    [PATCH] kernel: shut up the IRQ mismatch messages · 3f050447
    Alan Cox 提交于
    The problem is various drivers legally validly and sensibly try to claim
    IRQs but the kernel insists on vomiting forth a giant irrelevant debugging
    spew when the types clash.
    
    Edit kernel/irq/manage.c go down to mismatch: in setup_irq() and ifdef out
    the if clause that checks for mismatches.  It'll then just do the right
    thing and work sanely.
    
    For the current -mm kernel this will do the trick (and moves it into shared
    irq debugging as in debug mode the info spew is useful).  I've had a
    variant of this in my private tree for some time as I got fed up on the
    mess on boxes where old legacy IRQs get reused.
    Signed-off-by: NAlan Cox <alan@redhat.com>
    Cc: Arjan van de Ven <arjan@infradead.org>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: David Woodhouse <dwmw2@infradead.org>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    3f050447
manage.c 13.1 KB