Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37ef2a30 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar
Browse files

x86: Re-get cfg_new in case reuse/move irq_desc



When irq_desc is moved, we need to make sure to use the right cfg_new.

Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
LKML-Reference: <4B07A739.3030104@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent e670761f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3186,6 +3186,7 @@ unsigned int create_irq_nr(unsigned int irq_want, int node)
			continue;

		desc_new = move_irq_desc(desc_new, node);
		cfg_new = desc_new->chip_data;

		if (__assign_irq_vector(new, cfg_new, apic->target_cpus()) == 0)
			irq = new;