Hi, On Tue, Aug 14, 2012 at 06:52:12PM +0100, Catalin Marinas wrote: > +void handle_IRQ(unsigned int irq, struct pt_regs *regs) > +{ > + struct pt_regs *old_regs = set_irq_regs(regs); > + > + irq_enter(); > + > + /* > + * Some hardware gives randomly wrong interrupts. Rather > + * than crashing, do something sensible. > + */ > + if (unlikely(irq >= nr_irqs)) { > + if (printk_ratelimit()) > + pr_warning("Bad IRQ%u\n", irq); I guess pr_warn_ratelimited() should be used for new code. (See include/linux/printk.h, "Please don't use printk_ratelimit()...") A. -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html