Message ID | 20090311003236.263019667@linutronix.de (mailing list archive) |
---|---|
State | Accepted, archived |
Commit | 97f7d6bcc10687ff79632da338646a266dd590fc |
Delegated to: | Benjamin Herrenschmidt |
Headers | show |
On Wed, 2009-03-11 at 00:45 +0000, Thomas Gleixner wrote: > plain text document attachment > (powerpc-convert-obsolete-irq-desc-t-typedef.patch) > Impact: cleanup > > Convert the last remaining users. Ack. This would be more easily carried in my -next tree if that's ok with you. > Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> > CC: linuxppc-dev@ozlabs.org > --- > arch/powerpc/kernel/irq.c | 4 ++-- > arch/powerpc/platforms/iseries/irq.c | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > Index: linux-2.6/arch/powerpc/kernel/irq.c > =================================================================== > --- linux-2.6.orig/arch/powerpc/kernel/irq.c > +++ linux-2.6/arch/powerpc/kernel/irq.c > @@ -171,7 +171,7 @@ int show_interrupts(struct seq_file *p, > { > int i = *(loff_t *)v, j; > struct irqaction *action; > - irq_desc_t *desc; > + struct irq_desc *desc; > unsigned long flags; > > if (i == 0) { > @@ -1038,7 +1038,7 @@ arch_initcall(irq_late_init); > static int virq_debug_show(struct seq_file *m, void *private) > { > unsigned long flags; > - irq_desc_t *desc; > + struct irq_desc *desc; > const char *p; > char none[] = "none"; > int i; > Index: linux-2.6/arch/powerpc/platforms/iseries/irq.c > =================================================================== > --- linux-2.6.orig/arch/powerpc/platforms/iseries/irq.c > +++ linux-2.6/arch/powerpc/platforms/iseries/irq.c > @@ -214,7 +214,7 @@ void __init iSeries_activate_IRQs() > unsigned long flags; > > for_each_irq (irq) { > - irq_desc_t *desc = get_irq_desc(irq); > + struct irq_desc *desc = get_irq_desc(irq); > > if (desc && desc->chip && desc->chip->startup) { > spin_lock_irqsave(&desc->lock, flags); >
On Wed, 11 Mar 2009, Benjamin Herrenschmidt wrote: > On Wed, 2009-03-11 at 00:45 +0000, Thomas Gleixner wrote: > > plain text document attachment > > (powerpc-convert-obsolete-irq-desc-t-typedef.patch) > > Impact: cleanup > > > > Convert the last remaining users. > > Ack. This would be more easily carried in my -next tree if that's ok > with you. Sure. Thanks, tglx
Index: linux-2.6/arch/powerpc/kernel/irq.c =================================================================== --- linux-2.6.orig/arch/powerpc/kernel/irq.c +++ linux-2.6/arch/powerpc/kernel/irq.c @@ -171,7 +171,7 @@ int show_interrupts(struct seq_file *p, { int i = *(loff_t *)v, j; struct irqaction *action; - irq_desc_t *desc; + struct irq_desc *desc; unsigned long flags; if (i == 0) { @@ -1038,7 +1038,7 @@ arch_initcall(irq_late_init); static int virq_debug_show(struct seq_file *m, void *private) { unsigned long flags; - irq_desc_t *desc; + struct irq_desc *desc; const char *p; char none[] = "none"; int i; Index: linux-2.6/arch/powerpc/platforms/iseries/irq.c =================================================================== --- linux-2.6.orig/arch/powerpc/platforms/iseries/irq.c +++ linux-2.6/arch/powerpc/platforms/iseries/irq.c @@ -214,7 +214,7 @@ void __init iSeries_activate_IRQs() unsigned long flags; for_each_irq (irq) { - irq_desc_t *desc = get_irq_desc(irq); + struct irq_desc *desc = get_irq_desc(irq); if (desc && desc->chip && desc->chip->startup) { spin_lock_irqsave(&desc->lock, flags);
Impact: cleanup Convert the last remaining users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: linuxppc-dev@ozlabs.org --- arch/powerpc/kernel/irq.c | 4 ++-- arch/powerpc/platforms/iseries/irq.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)