提交 30377642 编写于 作者: P Paul Mundt

sh: intc: Use IRQ_SET_MASK_OK_NOCOPY for intc_set_affinity.

intc_set_affinity() updates the cpumask in place, so there's no need for
the upper layer to do this itself.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 29775df1
...@@ -73,7 +73,7 @@ static int intc_set_affinity(struct irq_data *data, ...@@ -73,7 +73,7 @@ static int intc_set_affinity(struct irq_data *data,
cpumask_copy(data->affinity, cpumask); cpumask_copy(data->affinity, cpumask);
return 0; return IRQ_SET_MASK_OK_NOCOPY;
} }
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册