projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29775df
)
sh: intc: Use IRQ_SET_MASK_OK_NOCOPY for intc_set_affinity.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 24 Jan 2012 07:55:57 +0000
(16:55 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 24 Jan 2012 07:55:57 +0000
(16:55 +0900)
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>
drivers/sh/intc/chip.c
patch
|
blob
|
history
diff --git
a/drivers/sh/intc/chip.c
b/drivers/sh/intc/chip.c
index
d90cb7e
..
db10adf
100644
(file)
--- 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