projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e9c4ec
)
MIPS: SMTC: Use irq_data in smtc_forward_irq()
author
Thomas Gleixner
<
[email protected]
>
Wed, 23 Mar 2011 21:09:03 +0000
(21:09 +0000)
committer
Ralf Baechle
<
[email protected]
>
Fri, 25 Mar 2011 17:45:18 +0000
(18:45 +0100)
Signed-off-by: Thomas Gleixner <
[email protected]
>
To:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/2193/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/kernel/smtc.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/smtc.c
b/arch/mips/kernel/smtc.c
index 39c08254b0f16f7d36e1b73344cb75c52ed9619f..14c64235a24b1876abb6e9741408d68052fa0c87 100644
(file)
--- a/
arch/mips/kernel/smtc.c
+++ b/
arch/mips/kernel/smtc.c
@@
-679,6
+679,7
@@
void smtc_set_irq_affinity(unsigned int irq, cpumask_t affinity)
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