commit | 30377642138aadeef35a31c2f90dba0b6fa7b91a | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Tue Jan 24 16:55:57 2012 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Jan 24 16:55:57 2012 +0900 |
tree | e6f0565911de5ad0cee7523de406c017d98c2653 | |
parent | 29775df10f02f614db870ff4acaf0b07dbed1547 [diff] |
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>
diff --git a/drivers/sh/intc/chip.c b/drivers/sh/intc/chip.c index d90cb7e..db10adf 100644 --- a/drivers/sh/intc/chip.c +++ b/drivers/sh/intc/chip.c
@@ -73,7 +73,7 @@ cpumask_copy(data->affinity, cpumask); - return 0; + return IRQ_SET_MASK_OK_NOCOPY; } #endif