| Submitter | Thomas Gleixner |
|---|---|
| Date | March 11, 2009, 12:46 a.m. |
| Message ID | <20090311003237.169865866@linutronix.de> |
| Download | mbox | patch |
| Permalink | /patch/24273/ |
| State | Accepted |
| Commit | 353bca5ed4e0705ed4a1ac7b82491b223c3b55ba |
| Delegated to: | Benjamin Herrenschmidt |
| Headers | show |
Comments
On Wed, 2009-03-11 at 00:46 +0000, Thomas Gleixner wrote: > plain text document attachment > (powerpc-convert-obsolete-hw-interrupt-type.patch) > Impact: cleanup > > Convert the last remaining users to struct irq_chip. Ack too, same comment, happy to have that one in powerpc. Ben. > Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> > CC: linuxppc-dev@ozlabs.org > --- > arch/powerpc/include/asm/hw_irq.h | 2 +- > arch/powerpc/platforms/powermac/pic.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > Index: linux-2.6/arch/powerpc/include/asm/hw_irq.h > =================================================================== > --- linux-2.6.orig/arch/powerpc/include/asm/hw_irq.h > +++ linux-2.6/arch/powerpc/include/asm/hw_irq.h > @@ -129,7 +129,7 @@ static inline int irqs_disabled_flags(un > * interrupt-retrigger: should we handle this via lost interrupts and IPIs > * or should we not care like we do now ? --BenH. > */ > -struct hw_interrupt_type; > +struct irq_chip; > > #endif /* __KERNEL__ */ > #endif /* _ASM_POWERPC_HW_IRQ_H */ > Index: linux-2.6/arch/powerpc/platforms/powermac/pic.h > =================================================================== > --- linux-2.6.orig/arch/powerpc/platforms/powermac/pic.h > +++ linux-2.6/arch/powerpc/platforms/powermac/pic.h > @@ -3,7 +3,7 @@ > > #include <linux/irq.h> > > -extern struct hw_interrupt_type pmac_pic; > +extern struct irq_chip pmac_pic; > > extern void pmac_pic_init(void); > extern int pmac_get_irq(void); >
Patch
Index: linux-2.6/arch/powerpc/include/asm/hw_irq.h =================================================================== --- linux-2.6.orig/arch/powerpc/include/asm/hw_irq.h +++ linux-2.6/arch/powerpc/include/asm/hw_irq.h @@ -129,7 +129,7 @@ static inline int irqs_disabled_flags(un * interrupt-retrigger: should we handle this via lost interrupts and IPIs * or should we not care like we do now ? --BenH. */ -struct hw_interrupt_type; +struct irq_chip; #endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_HW_IRQ_H */ Index: linux-2.6/arch/powerpc/platforms/powermac/pic.h =================================================================== --- linux-2.6.orig/arch/powerpc/platforms/powermac/pic.h +++ linux-2.6/arch/powerpc/platforms/powermac/pic.h @@ -3,7 +3,7 @@ #include <linux/irq.h> -extern struct hw_interrupt_type pmac_pic; +extern struct irq_chip pmac_pic; extern void pmac_pic_init(void); extern int pmac_get_irq(void);
Impact: cleanup Convert the last remaining users to struct irq_chip. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: linuxppc-dev@ozlabs.org --- arch/powerpc/include/asm/hw_irq.h | 2 +- arch/powerpc/platforms/powermac/pic.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)