diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index b000017..29cae92 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c @@ -634,7 +634,7 @@ static int __assign_irq_vector(int irq, int first, new_cpu; int vector, offset; - domain = vector_allocation_domain(cpu); + cpus_and(domain, vector_allocation_domain(cpu), mask); first = first_cpu(domain); vector = pos[first].vector;