]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] x86-64: Rate limit no irq handler messages
authorAndi Kleen <ak@suse.de>
Thu, 7 Dec 2006 01:14:09 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:09 +0000 (02:14 +0100)
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/irq.c

index e46c55856d40ae6fb85daf785ca438dccba1b042..0c06af6c13bcb6c4d4e8331da76279442ce378a3 100644 (file)
@@ -120,7 +120,7 @@ asmlinkage unsigned int do_IRQ(struct pt_regs *regs)
 
        if (likely(irq < NR_IRQS))
                generic_handle_irq(irq);
-       else
+       else if (printk_ratelimit())
                printk(KERN_EMERG "%s: %d.%d No irq handler for vector\n",
                        __func__, smp_processor_id(), vector);