| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [patch 21/38] mips: smtc: Use irq_data in smtc_forward_irq() |
| From: | Thomas Gleixner <tglx@linutronix.de> |
| Date: | Wed, 23 Mar 2011 21:09:03 -0000 |
| Cc: | Ralf Baechle <ralf@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20110323210437.398062704@linutronix.de> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | quilt/0.48-1 |
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
arch/mips/kernel/smtc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux-mips-next/arch/mips/kernel/smtc.c
===================================================================
--- linux-mips-next.orig/arch/mips/kernel/smtc.c
+++ linux-mips-next/arch/mips/kernel/smtc.c
@@ -679,6 +679,7 @@ void smtc_set_irq_affinity(unsigned int
void smtc_forward_irq(unsigned int irq)
{
+ struct irq_data *d = irq_get_irq_data(irq);
int target;
/*
@@ -692,7 +693,7 @@ void smtc_forward_irq(unsigned int irq)
* and efficiency, we just pick the easiest one to find.
*/
- target = cpumask_first(irq_desc[irq].affinity);
+ target = cpumask_first(d->affinity);
/*
* We depend on the platform code to have correctly processed
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [patch 20/38] mips: txx9: Convert core to new irq_chip functions, Thomas Gleixner |
|---|---|
| Next by Date: | [patch 22/38] mips: smtc: Cleanup the hook mess and use irq_data, Thomas Gleixner |
| Previous by Thread: | Re: [patch 20/38] mips: txx9: Convert core to new irq_chip functions, Ralf Baechle |
| Next by Thread: | Re: [patch 21/38] mips: smtc: Use irq_data in smtc_forward_irq(), Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |