From: Kenji Kaneshige The function prototype for handle_IRQ_event() in a few architctures is not needed because they use GENERIC_HARDIRQ. Signed-off-by: Kenji Kaneshige Signed-off-by: Andrew Morton --- include/asm-mips/irq.h | 3 --- include/asm-ppc/irq.h | 4 ---- include/asm-sh/irq.h | 4 ---- include/asm-x86_64/irq.h | 4 ---- 4 files changed, 15 deletions(-) diff -puN include/asm-sh/irq.h~remove-unnecessary-handle_irq_event-prototypes include/asm-sh/irq.h --- devel/include/asm-sh/irq.h~remove-unnecessary-handle_irq_event-prototypes 2005-09-07 23:19:11.000000000 -0700 +++ devel-akpm/include/asm-sh/irq.h 2005-09-07 23:19:11.000000000 -0700 @@ -587,10 +587,6 @@ static inline int generic_irq_demux(int #define irq_canonicalize(irq) (irq) #define irq_demux(irq) __irq_demux(sh_mv.mv_irq_demux(irq)) -struct irqaction; -struct pt_regs; -int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *); - #if defined(CONFIG_CPU_SUBTYPE_SH73180) #include #endif diff -puN include/asm-x86_64/irq.h~remove-unnecessary-handle_irq_event-prototypes include/asm-x86_64/irq.h --- devel/include/asm-x86_64/irq.h~remove-unnecessary-handle_irq_event-prototypes 2005-09-07 23:19:59.000000000 -0700 +++ devel-akpm/include/asm-x86_64/irq.h 2005-09-07 23:19:59.000000000 -0700 @@ -48,10 +48,6 @@ static __inline__ int irq_canonicalize(i #define ARCH_HAS_NMI_WATCHDOG /* See include/linux/nmi.h */ #endif -struct irqaction; -struct pt_regs; -int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *); - #ifdef CONFIG_HOTPLUG_CPU #include extern void fixup_irqs(cpumask_t map); diff -puN include/asm-mips/irq.h~remove-unnecessary-handle_irq_event-prototypes include/asm-mips/irq.h --- devel/include/asm-mips/irq.h~remove-unnecessary-handle_irq_event-prototypes 2005-09-07 23:20:02.000000000 -0700 +++ devel-akpm/include/asm-mips/irq.h 2005-09-07 23:20:02.000000000 -0700 @@ -49,7 +49,4 @@ do { \ extern void arch_init_irq(void); -struct irqaction; -int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *); - #endif /* _ASM_IRQ_H */ diff -puN include/asm-ppc/irq.h~remove-unnecessary-handle_irq_event-prototypes include/asm-ppc/irq.h --- devel/include/asm-ppc/irq.h~remove-unnecessary-handle_irq_event-prototypes 2005-09-07 23:20:06.000000000 -0700 +++ devel-akpm/include/asm-ppc/irq.h 2005-09-07 23:20:06.000000000 -0700 @@ -404,9 +404,5 @@ extern unsigned long ppc_cached_irq_mask extern unsigned long ppc_lost_interrupts[NR_MASK_WORDS]; extern atomic_t ppc_n_lost_interrupts; -struct irqaction; -struct pt_regs; -int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *); - #endif /* _ASM_IRQ_H */ #endif /* __KERNEL__ */ _