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: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a457324229db34d3bcb0b67360130c287289401;p=linux-2.6 [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 e46c55856d..0c06af6c13 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);