Thread (23 messages) 23 messages, 2 authors, 2011-02-23

Re: [patch 16/19] alpha: titan: Convert irq_chip functions

From: Matt Turner <mattst88@gmail.com>
Date: 2011-02-23 21:30:35

On Sun, Feb 6, 2011 at 2:32 PM, Thomas Gleixner [off-list ref] wrote:
quoted hunk ↗ jump to hunk
Signed-off-by: Thomas Gleixner <redacted>
---
 arch/alpha/kernel/sys_titan.c |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Index: linux-next/arch/alpha/kernel/sys_titan.c
===================================================================
--- linux-next.orig/arch/alpha/kernel/sys_titan.c
+++ linux-next/arch/alpha/kernel/sys_titan.c
@@ -112,7 +112,7 @@ titan_update_irq_hw(unsigned long mask)
 }

 static inline void
-titan_enable_irq(unsigned int irq)
+titan_enable_irq(struct irq_data *d)
 {
       spin_lock(&titan_irq_lock);
       titan_cached_irq_mask |= 1UL << (irq - 16);
@@ -121,7 +121,7 @@ titan_enable_irq(unsigned int irq)
 }

 static inline void
-titan_disable_irq(unsigned int irq)
+titan_disable_irq(struct irq_data *d)
 {
       spin_lock(&titan_irq_lock);
       titan_cached_irq_mask &= ~(1UL << (irq - 16));
These hunks are missing a
+       unsigned int irq = d->irq;

I can fix that up myself though.
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help