Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68knommu: Move forward declaration of do_IRQ() from machdep.h to irq.h

It is not machine-specific, but common irq infrastructure.
Also add the missing asmlinkage, to match its definition.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>

authored by

Geert Uytterhoeven and committed by
Greg Ungerer
739735d5 35de6749

+2 -1
+2
arch/m68k/include/asm/irq.h
··· 122 122 #define irq_canonicalize(irq) (irq) 123 123 #endif /* CONFIG_MMU */ 124 124 125 + asmlinkage void do_IRQ(int irq, struct pt_regs *regs); 126 + 125 127 #endif /* _M68K_IRQ_H_ */
-1
arch/m68k/include/asm/machdep.h
··· 40 40 extern irqreturn_t arch_timer_interrupt(int irq, void *dummy); 41 41 42 42 extern void config_BSP(char *command, int len); 43 - extern void do_IRQ(int irq, struct pt_regs *fp); 44 43 45 44 #endif /* _M68K_MACHDEP_H */