|
@@ -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);
|