summaryrefslogtreecommitdiffstats
path: root/drivers/sh/intc
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-01-24 16:55:57 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-01-24 16:55:57 +0900
commit30377642138aadeef35a31c2f90dba0b6fa7b91a (patch)
treee6f0565911de5ad0cee7523de406c017d98c2653 /drivers/sh/intc
parent29775df10f02f614db870ff4acaf0b07dbed1547 (diff)
downloadblackbird-op-linux-30377642138aadeef35a31c2f90dba0b6fa7b91a.tar.gz
blackbird-op-linux-30377642138aadeef35a31c2f90dba0b6fa7b91a.zip
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>
Diffstat (limited to 'drivers/sh/intc')
-rw-r--r--drivers/sh/intc/chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/intc/chip.c b/drivers/sh/intc/chip.c
index d90cb7e43920..db10adf63dd7 100644
--- a/drivers/sh/intc/chip.c
+++ b/drivers/sh/intc/chip.c
@@ -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
OpenPOWER on IntegriCloud