2008-03-04 06:36:19

by Greg Ungerer

[permalink] [raw]
Subject: [M68KNOMMU]: declare do_IRQ()

Need a declaration of do_IRQ for the 68328 interrupt handling code.
It is common to all m68knommu targets, so a common declaration makes
sense.

Signed-off-by: Greg Ungerer <[email protected]>
---

diff -Naurp linux-2.6.25-rc3/include/asm-m68knommu/machdep.h linux-2.6.25-rc3.foo/include/asm-m68knommu/machdep.h
--- linux-2.6.25-rc3/include/asm-m68knommu/machdep.h 2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.25-rc3.foo/include/asm-m68knommu/machdep.h 2008-03-04 16:09:28.000000000 +1000
@@ -21,4 +21,6 @@ extern void (*mach_power_off)( void );

extern void config_BSP(char *command, int len);

+extern void do_IRQ(int irq, struct pt_regs *fp);
+
#endif /* _M68KNOMMU_MACHDEP_H */