linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [patch 08/18] powerpc: convert obsolete irq_desc_t to struct irq_desc
       [not found] <20090311003204.592133594@linutronix.de>
@ 2009-03-11  0:45 ` Thomas Gleixner
  2009-03-11  2:19   ` Benjamin Herrenschmidt
  2009-03-11  0:46 ` [patch 16/18] powerpc: convert obsolete hw_interrupt_type to struct irq_chip Thomas Gleixner
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Gleixner @ 2009-03-11  0:45 UTC (permalink / raw)
  To: LKML; +Cc: Andrew Morton, Ingo Molnar, linuxppc-dev

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(-)

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);

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

* [patch 16/18] powerpc: convert obsolete hw_interrupt_type to struct irq_chip
       [not found] <20090311003204.592133594@linutronix.de>
  2009-03-11  0:45 ` [patch 08/18] powerpc: convert obsolete irq_desc_t to struct irq_desc Thomas Gleixner
@ 2009-03-11  0:46 ` Thomas Gleixner
  2009-03-11  2:19   ` Benjamin Herrenschmidt
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Gleixner @ 2009-03-11  0:46 UTC (permalink / raw)
  To: LKML; +Cc: Andrew Morton, Ingo Molnar, linuxppc-dev

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(-)

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);

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

* Re: [patch 08/18] powerpc: convert obsolete irq_desc_t to struct irq_desc
  2009-03-11  0:45 ` [patch 08/18] powerpc: convert obsolete irq_desc_t to struct irq_desc Thomas Gleixner
@ 2009-03-11  2:19   ` Benjamin Herrenschmidt
  2009-03-11  7:59     ` Thomas Gleixner
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2009-03-11  2:19 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linuxppc-dev, Andrew Morton, Ingo Molnar, LKML

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);
> 

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

* Re: [patch 16/18] powerpc: convert obsolete hw_interrupt_type to struct irq_chip
  2009-03-11  0:46 ` [patch 16/18] powerpc: convert obsolete hw_interrupt_type to struct irq_chip Thomas Gleixner
@ 2009-03-11  2:19   ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2009-03-11  2:19 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linuxppc-dev, Andrew Morton, Ingo Molnar, LKML

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);
> 

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

* Re: [patch 08/18] powerpc: convert obsolete irq_desc_t to struct irq_desc
  2009-03-11  2:19   ` Benjamin Herrenschmidt
@ 2009-03-11  7:59     ` Thomas Gleixner
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Gleixner @ 2009-03-11  7:59 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev, Andrew Morton, Ingo Molnar, LKML

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

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

end of thread, other threads:[~2009-03-11  8:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090311003204.592133594@linutronix.de>
2009-03-11  0:45 ` [patch 08/18] powerpc: convert obsolete irq_desc_t to struct irq_desc Thomas Gleixner
2009-03-11  2:19   ` Benjamin Herrenschmidt
2009-03-11  7:59     ` Thomas Gleixner
2009-03-11  0:46 ` [patch 16/18] powerpc: convert obsolete hw_interrupt_type to struct irq_chip Thomas Gleixner
2009-03-11  2:19   ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).