From: Greg Ungerer <gerg@xxxxxxxxxxx> With the generic interrupt code we need an ack_bad_irq() function. Otherwise you get: CC kernel/irq/handle.o kernel/irq/handle.c: In function ‘handle_bad_irq’: kernel/irq/handle.c:34:2: error: implicit declaration of function ‘ack_bad_irq’ make[3]: *** [kernel/irq/handle.o] Error 1 The standard m68k MMU targets don't use generic interrupts yet, so didn't need this. Signed-off-by: Greg Ungerer <gerg@xxxxxxxxxxx> --- arch/m68k/include/asm/hardirq.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/m68k/include/asm/hardirq.h b/arch/m68k/include/asm/hardirq.h index 870e534..f3d175c 100644 --- a/arch/m68k/include/asm/hardirq.h +++ b/arch/m68k/include/asm/hardirq.h @@ -25,6 +25,13 @@ typedef struct { #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ +#ifndef ack_bad_irq +static inline void ack_bad_irq(unsigned int irq) +{ + printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq); +} +#endif + #else #include <asm-generic/hardirq.h> -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html