aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-07 13:28:01 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-02-09 14:06:07 -0500
commit9804c9eaeacfe78651052c5ddff31099f60ef78c (patch)
tree3d4226688e82aa4d4c55fd815f24600d665a7fc9 /arch/parisc
parent8e1964a98920100f113ad26f78220ea706dbfa2b (diff)
[PARISC] fix per-cpu flag problem in the cpu affinity checkers
The CHECK_IRQ_PER_CPU is wrong, it should be checking irq_to_desc(irq)->status not just irq. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: stable@kernel.org Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c
index d7d94b845dc2..3948f1dd455a 100644
--- 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)
108 int cpu_dest; 108 int cpu_dest;
109 109
110 /* timer and ipi have to always be received on all CPUs */ 110 /* timer and ipi have to always be received on all CPUs */
111 if (CHECK_IRQ_PER_CPU(irq)) { 111 if (CHECK_IRQ_PER_CPU(irq_to_desc(irq)->status)) {
112 /* Bad linux design decision. The mask has already 112 /* Bad linux design decision. The mask has already
113 * been set; we must reset it */ 113 * been set; we must reset it */
114 cpumask_setall(irq_desc[irq].affinity); 114 cpumask_setall(irq_desc[irq].affinity);