linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* powerpc virq: minor cleanups
@ 2006-08-25 23:02 Geoff Levand
  2006-08-28  1:20 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Geoff Levand @ 2006-08-25 23:02 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev

Ben,

Please consider these cleanups.


Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

---
Index: cell--common--4/arch/powerpc/kernel/irq.c
===================================================================
--- cell--common--4.orig/arch/powerpc/kernel/irq.c
+++ cell--common--4/arch/powerpc/kernel/irq.c
@@ -678,7 +680,7 @@
 }
 EXPORT_SYMBOL_GPL(irq_dispose_mapping);
 
-unsigned int irq_find_mapping(struct irq_host *host,
+unsigned int irq_find_mapping(const struct irq_host *host,
 			      irq_hw_number_t hwirq)
 {
 	unsigned int i;
Index: cell--common--4/include/asm-powerpc/irq.h
===================================================================
--- cell--common--4.orig/include/asm-powerpc/irq.h
+++ cell--common--4/include/asm-powerpc/irq.h
@@ -28,10 +28,10 @@
 
 #ifdef CONFIG_PPC_MERGE
 
-/* This number is used when no interrupt has been assigned */
+/* This number is used when no virq has been assigned */
 #define NO_IRQ			(0)
 
-/* This is a special irq number to return from get_irq() to tell that
+/* This is a special virq number to return from get_irq() to tell that
  * no interrupt happened _and_ ignore it (don't count it as bad). Some
  * platforms like iSeries rely on that.
  */
@@ -217,7 +222,7 @@
  * irq controller implementation directly calls the appropriate low level
  * mapping function.
  */
-extern unsigned int irq_find_mapping(struct irq_host *host,
+extern unsigned int irq_find_mapping(const struct irq_host *host,
 				     irq_hw_number_t hwirq);
 
 

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

* Re: powerpc virq: minor cleanups
  2006-08-25 23:02 powerpc virq: minor cleanups Geoff Levand
@ 2006-08-28  1:20 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2006-08-28  1:20 UTC (permalink / raw)
  To: Geoff Levand; +Cc: linuxppc-dev, Paul Mackerras

On Fri, 2006-08-25 at 16:02 -0700, Geoff Levand wrote:
> Ben,
> 
> Please consider these cleanups.
> 
> 
> Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

> ---
> Index: cell--common--4/arch/powerpc/kernel/irq.c
> ===================================================================
> --- cell--common--4.orig/arch/powerpc/kernel/irq.c
> +++ cell--common--4/arch/powerpc/kernel/irq.c
> @@ -678,7 +680,7 @@
>  }
>  EXPORT_SYMBOL_GPL(irq_dispose_mapping);
>  
> -unsigned int irq_find_mapping(struct irq_host *host,
> +unsigned int irq_find_mapping(const struct irq_host *host,
>  			      irq_hw_number_t hwirq)
>  {
>  	unsigned int i;
> Index: cell--common--4/include/asm-powerpc/irq.h
> ===================================================================
> --- cell--common--4.orig/include/asm-powerpc/irq.h
> +++ cell--common--4/include/asm-powerpc/irq.h
> @@ -28,10 +28,10 @@
>  
>  #ifdef CONFIG_PPC_MERGE
>  
> -/* This number is used when no interrupt has been assigned */
> +/* This number is used when no virq has been assigned */
>  #define NO_IRQ			(0)
>  
> -/* This is a special irq number to return from get_irq() to tell that
> +/* This is a special virq number to return from get_irq() to tell that
>   * no interrupt happened _and_ ignore it (don't count it as bad). Some
>   * platforms like iSeries rely on that.
>   */
> @@ -217,7 +222,7 @@
>   * irq controller implementation directly calls the appropriate low level
>   * mapping function.
>   */
> -extern unsigned int irq_find_mapping(struct irq_host *host,
> +extern unsigned int irq_find_mapping(const struct irq_host *host,
>  				     irq_hw_number_t hwirq);
>  
> 

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

end of thread, other threads:[~2006-08-28  1:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-25 23:02 powerpc virq: minor cleanups Geoff Levand
2006-08-28  1:20 ` 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).