Skip to contentSkip to conversation

Allow multiple cpus in irq affinity call

PATCH New Anton Blanchard 1 participant 1 message Dec 1, 2004 IRQ

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Allow multiple cpus in irq affinity call

Hi,

The generic irq affinity code limits us to a single cpu target regardless of what the architecture supports. If required this should be done in the architecture specific ->set_affinity call.

With this patch ppc64 is able to select all cpus affinity again.

Anton

kernel/irq/proc.c renamed from kernel/irq/proc.c~debug_gqirm +1 -2
diff -puN kernel/irq/proc.c~debug_gqirm kernel/irq/proc.c
@@ -56,8 +56,7 @@ static int irq_affinity_write_proc(struc
 		return -EINVAL;
 
 	irq_affinity[irq] = new_value;
-	irq_desc[irq].handler->set_affinity(irq,
-					cpumask_of_cpu(first_cpu(new_value)));
+	irq_desc[irq].handler->set_affinity(irq, new_value);
 
 	return full_count;
 }

_