Commit 92862858 authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka

cobalt/intr: IRQ affinity depends on xnsched_realtime_cpus

cobalt_cpu_affinity defines the CPU set which may run Cobalt threads,
which is a subset of xnsched_realtime_cpus. I.e. we may handle IRQs
over CPUs which do not run threads.
Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent fddde89d
......@@ -822,7 +822,7 @@ int xnintr_attach(struct xnintr *intr, void *cookie)
clear_irqstats(intr);
#ifdef CONFIG_SMP
ipipe_set_irq_affinity(intr->irq, cobalt_cpu_affinity);
ipipe_set_irq_affinity(intr->irq, xnsched_realtime_cpus);
#endif /* CONFIG_SMP */
raw_spin_lock(&intr->lock);
......
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