Boot framework rework (#45)
[lunaix-os.git] / lunaix-os / usr / libc / arch / x86_64 / trampoline.S
index 86bdfd1b27f119a6f0379ce59a2e30817b129cda..62064c2ef4ad0d0f42386f65af449f08f533ea4a 100644 (file)
@@ -29,7 +29,7 @@
         movq (%rsp), %rax
         movq 8(%rsp), %rdi
 
-        callq %rax
+        callq *%rax
 
         movq %rax, %rbx
         movq $__SYSCALL_th_exit, %rax