projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e1964a
)
[PARISC] fix per-cpu flag problem in the cpu affinity checkers
author
Thomas Gleixner
<
[email protected]
>
Mon, 7 Feb 2011 18:28:01 +0000
(19:28 +0100)
committer
James Bottomley
<
[email protected]
>
Wed, 9 Feb 2011 19:06:07 +0000
(13:06 -0600)
The CHECK_IRQ_PER_CPU is wrong, it should be checking
irq_to_desc(irq)->status not just irq.
Signed-off-by: Thomas Gleixner <
[email protected]
>
Cc:
[email protected]
Signed-off-by: James Bottomley <
[email protected]
>
arch/parisc/kernel/irq.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/irq.c
b/arch/parisc/kernel/irq.c
index d7d94b845dc2c8bb08ece9d5e420f8cae5b7abe2..3948f1dd455aa9b32ccc6204394065dab1c852e7 100644
(file)
--- a/
arch/parisc/kernel/irq.c
+++ b/
arch/parisc/kernel/irq.c
@@
-108,7
+108,7
@@
int cpu_check_affinity(unsigned int irq, const struct cpumask *dest)
int cpu_dest;
/* timer and ipi have to always be received on all CPUs */
- if (CHECK_IRQ_PER_CPU(irq)) {
+ if (CHECK_IRQ_PER_CPU(irq
_to_desc(irq)->status
)) {
/* Bad linux design decision. The mask has already
* been set; we must reset it */
cpumask_setall(irq_desc[irq].affinity);