public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.13 0/4] Cleanup - remove unnecessary handle_IRQ_event() prototype
@ 2005-09-08  5:35 Kenji Kaneshige
  2005-09-08  5:41 ` [PATCH 2.6.13 1/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (mips) Kenji Kaneshige
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kenji Kaneshige @ 2005-09-08  5:35 UTC (permalink / raw)
  To: Andrew Morton, Linux Kernel Mailing List

Hi,

I think the function prototypes for handle_IRQ_event() in
include/asm-{mips,ppc,sh,x86_64}/irq.h are no longer needed because
these architectures are using GENERIC_HARDIRQ. This series of patches
removes those unnecessary handle_IRQ_event() prototypes.

NOTE: Since I don't have these architectures, these patches are not
tested yet. I hope these patches will be tested by someone who has
these architectures.

Thanks,
Kenji Kaneshige

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2.6.13 1/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (mips)
  2005-09-08  5:35 [PATCH 2.6.13 0/4] Cleanup - remove unnecessary handle_IRQ_event() prototype Kenji Kaneshige
@ 2005-09-08  5:41 ` Kenji Kaneshige
  2005-09-08  5:42 ` [PATCH 2.6.13 2/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (ppc) Kenji Kaneshige
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Kenji Kaneshige @ 2005-09-08  5:41 UTC (permalink / raw)
  To: Andrew Morton, Linux Kernel Mailing List; +Cc: Kenji Kaneshige

The function prototype for handle_IRQ_event() in include/asm-mips/irq.h
seems no longer needed because mips uses GENERIC_HARDIRQ. This patch
removes it.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>

 include/asm-mips/irq.h |    3 ---
 1 files changed, 3 deletions(-)

Index: linux-2.6.13/include/asm-mips/irq.h
===================================================================
--- linux-2.6.13.orig/include/asm-mips/irq.h
+++ linux-2.6.13/include/asm-mips/irq.h
@@ -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 */


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2.6.13 2/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (ppc)
  2005-09-08  5:35 [PATCH 2.6.13 0/4] Cleanup - remove unnecessary handle_IRQ_event() prototype Kenji Kaneshige
  2005-09-08  5:41 ` [PATCH 2.6.13 1/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (mips) Kenji Kaneshige
@ 2005-09-08  5:42 ` Kenji Kaneshige
  2005-09-08  5:43 ` [PATCH 2.6.13 3/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (sh) Kenji Kaneshige
  2005-09-08  5:44 ` [PATCH 2.6.13 4/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (x86_64) Kenji Kaneshige
  3 siblings, 0 replies; 5+ messages in thread
From: Kenji Kaneshige @ 2005-09-08  5:42 UTC (permalink / raw)
  To: Andrew Morton, Linux Kernel Mailing List; +Cc: Kenji Kaneshige

The function prototype for handle_IRQ_event() in include/asm-ppc/irq.h
seems no longer needed because ppc uses GENERIC_HARDIRQ. This patch
removes it.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>

 include/asm-ppc/irq.h |    4 ----
 1 files changed, 4 deletions(-)

Index: linux-2.6.13/include/asm-ppc/irq.h
===================================================================
--- linux-2.6.13.orig/include/asm-ppc/irq.h
+++ linux-2.6.13/include/asm-ppc/irq.h
@@ -398,9 +398,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__ */


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2.6.13 3/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (sh)
  2005-09-08  5:35 [PATCH 2.6.13 0/4] Cleanup - remove unnecessary handle_IRQ_event() prototype Kenji Kaneshige
  2005-09-08  5:41 ` [PATCH 2.6.13 1/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (mips) Kenji Kaneshige
  2005-09-08  5:42 ` [PATCH 2.6.13 2/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (ppc) Kenji Kaneshige
@ 2005-09-08  5:43 ` Kenji Kaneshige
  2005-09-08  5:44 ` [PATCH 2.6.13 4/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (x86_64) Kenji Kaneshige
  3 siblings, 0 replies; 5+ messages in thread
From: Kenji Kaneshige @ 2005-09-08  5:43 UTC (permalink / raw)
  To: Andrew Morton, Linux Kernel Mailing List; +Cc: Kenji Kaneshige

The function prototype for handle_IRQ_event() in include/asm-sh/irq.h
seems no longer needed because sh uses GENERIC_HARDIRQ. This patch
removes it.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>

 include/asm-sh/irq.h |    4 ----
 1 files changed, 4 deletions(-)

Index: linux-2.6.13/include/asm-sh/irq.h
===================================================================
--- linux-2.6.13.orig/include/asm-sh/irq.h
+++ linux-2.6.13/include/asm-sh/irq.h
@@ -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 <asm/irq-sh73180.h>
 #endif


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2.6.13 4/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (x86_64)
  2005-09-08  5:35 [PATCH 2.6.13 0/4] Cleanup - remove unnecessary handle_IRQ_event() prototype Kenji Kaneshige
                   ` (2 preceding siblings ...)
  2005-09-08  5:43 ` [PATCH 2.6.13 3/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (sh) Kenji Kaneshige
@ 2005-09-08  5:44 ` Kenji Kaneshige
  3 siblings, 0 replies; 5+ messages in thread
From: Kenji Kaneshige @ 2005-09-08  5:44 UTC (permalink / raw)
  To: Andrew Morton, Linux Kernel Mailing List; +Cc: Kenji Kaneshige

The function prototype for handle_IRQ_event() in include/asm-x86_64/irq.h
seems no longer needed because x86_64 uses GENERIC_HARDIRQ. This patch
removes it.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>

 include/asm-x86_64/irq.h |    4 ----
 1 files changed, 4 deletions(-)

Index: linux-2.6.13/include/asm-x86_64/irq.h
===================================================================
--- linux-2.6.13.orig/include/asm-x86_64/irq.h
+++ linux-2.6.13/include/asm-x86_64/irq.h
@@ -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 <linux/cpumask.h>
 extern void fixup_irqs(cpumask_t map);


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-08  5:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-08  5:35 [PATCH 2.6.13 0/4] Cleanup - remove unnecessary handle_IRQ_event() prototype Kenji Kaneshige
2005-09-08  5:41 ` [PATCH 2.6.13 1/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (mips) Kenji Kaneshige
2005-09-08  5:42 ` [PATCH 2.6.13 2/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (ppc) Kenji Kaneshige
2005-09-08  5:43 ` [PATCH 2.6.13 3/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (sh) Kenji Kaneshige
2005-09-08  5:44 ` [PATCH 2.6.13 4/4] Cleanup - remove unnecessary handle_IRQ_event() prototype (x86_64) Kenji Kaneshige

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox