diff --git a/arch/x86/core/intel64/locore.S b/arch/x86/core/intel64/locore.S index fbadbf4570..52c4de23dd 100644 --- a/arch/x86/core/intel64/locore.S +++ b/arch/x86/core/intel64/locore.S @@ -707,9 +707,9 @@ irq_enter_unnested: /* Not nested: dump state to thread struct for __resume */ #endif irq_dispatch: - movq x86_irq_funcs(,%rcx,8), %rbx + movq x86_irq_funcs(,%rcx,8), %rax movq x86_irq_args(,%rcx,8), %rdi - call *%rbx + call *%rax xorq %rax, %rax #ifdef CONFIG_X2APIC