提交 2a2b2212 编写于 作者: T Thomas Gleixner 提交者: Ralf Baechle

MIPS: SMTC: Use irq_data in smtc_forward_irq()

Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2193/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 0e9c4ec6
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册