From: Andi Kleen Date: Thu, 7 Dec 2006 01:14:09 +0000 (+0100) Subject: [PATCH] x86-64: Rate limit no irq handler messages X-Git-Tag: v2.6.20-rc1~145^2^2~8^2~60 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9a457324229db34d3bcb0b67360130c287289401;p=linux-2.6-omap-h63xx.git [PATCH] x86-64: Rate limit no irq handler messages Signed-off-by: Andi Kleen --- diff --git a/arch/x86_64/kernel/irq.c b/arch/x86_64/kernel/irq.c index e46c55856d4..0c06af6c13b 100644 --- a/arch/x86_64/kernel/irq.c +++ b/arch/x86_64/kernel/irq.c @@ -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);