Skip to content

Commit

Permalink
sh: intc: Use IRQ_SET_MASK_OK_NOCOPY for intc_set_affinity.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Jan 24, 2012
1 parent 29775df commit 3037764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sh/intc/chip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3037764

Please sign in to comment.