diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 5380b3a8f3e574bcaf9124e2a67a185d828ab727..ce852565443a54de68f3d1a9d65a6957ad7f4c8c 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S @@ -484,8 +484,7 @@ ENTRY(stub_\func) CFI_STARTPROC DEFAULT_FRAME 0, 8 /* offset 8: return address */ SAVE_EXTRA_REGS 8 - call sys_\func - ret + jmp sys_\func CFI_ENDPROC END(stub_\func) .endm