mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
29775df10f
commit
3037764213
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ static int intc_set_affinity(struct irq_data *data,
|
|||
|
||||
cpumask_copy(data->affinity, cpumask);
|
||||
|
||||
return 0;
|
||||
return IRQ_SET_MASK_OK_NOCOPY;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue