Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Thomas Gleixner and committed by
James Bottomley
9804c9ea 8e1964a9

+1 -1
+1 -1
arch/parisc/kernel/irq.c
··· 108 108 int cpu_dest; 109 109 110 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 112 /* Bad linux design decision. The mask has already 113 113 * been set; we must reset it */ 114 114 cpumask_setall(irq_desc[irq].affinity);