From 1b17f7ab00ea450c315029358c4eedb166f47c79 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Sun, 5 May 2013 16:57:51 -0400 Subject: [PATCH] Fix x86-64 build. --- src/system/kernel/arch/x86/64/arch.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/arch/x86/64/arch.S b/src/system/kernel/arch/x86/64/arch.S index baf8d09f4e..3f9b6d1e48 100644 --- a/src/system/kernel/arch/x86/64/arch.S +++ b/src/system/kernel/arch/x86/64/arch.S @@ -253,10 +253,10 @@ FUNCTION(arch_cpu_user_strlcpy): not %rcx # %rcx was 0 and is now max xor %al, %al - movl %rsi, %rdi + movq %rsi, %rdi repnz scasb - movl %rdi, %rsi + movq %rdi, %rsi .L_user_strlcpy_source_done: // Restore the old fault handler