Commit 23f217fa authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: Fix xics irq affinity bug

From: Anton Blanchard <anton@samba.org>

Fix xics irq affinity bug. We were anding with cpu_online_map but werent
using the result later on.
parent 69bc70b9
......@@ -609,7 +609,7 @@ static void xics_set_affinity(unsigned int virq, cpumask_t cpumask)
cpus_and(tmp, cpu_online_map, cpumask);
if (cpus_empty(tmp))
return;
newmask = get_hard_smp_processor_id(first_cpu(cpumask));
newmask = get_hard_smp_processor_id(first_cpu(tmp));
}
status = rtas_call(ibm_set_xive, 3, 1, NULL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment