diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-07 19:28:01 +0100 |
---|---|---|
committer | AK <andi@firstfloor.org> | 2011-03-31 11:58:42 -0700 |
commit | dcb3d4d2505262133fc2fbb904aecd04a78cb0ae (patch) | |
tree | 39ed6ab12d8237dc18b7828df34bea458e6e47e7 /arch | |
parent | 5ac44fed9008dd82edb8bd3470698d8b83d2fed9 (diff) | |
download | kernel-common-dcb3d4d2505262133fc2fbb904aecd04a78cb0ae.tar.gz kernel-common-dcb3d4d2505262133fc2fbb904aecd04a78cb0ae.tar.bz2 kernel-common-dcb3d4d2505262133fc2fbb904aecd04a78cb0ae.zip |
fix per-cpu flag problem in the cpu affinity checkers
commit 9804c9eaeacfe78651052c5ddff31099f60ef78c upstream.
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>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index efbcee5d2220..e13fc3f37787 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -117,7 +117,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); |