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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9a457324229db34d3bcb0b67360130c287289401;p=openwrt%2Fstaging%2Fblogic.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 e46c55856d40..0c06af6c13bc 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);