diff --git a/arch/x86_64/include/syscall.h b/arch/x86_64/include/syscall.h index ce4a4592c95..8a140625248 100644 --- a/arch/x86_64/include/syscall.h +++ b/arch/x86_64/include/syscall.h @@ -175,7 +175,7 @@ static inline uintptr_t sys_call6(unsigned int nbr, uintptr_t parm1, __asm__ volatile ( - "movq %1, %%rax\n" + "movl %1, %%eax\n" "movq %2, %%rdi\n" "movq %3, %%rsi\n" "movq %4, %%rdx\n"