[haiku-commits] haiku: hrev45632 - src/system/kernel/arch/x86/64

  • From: anevilyak@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 5 May 2013 23:12:07 +0200 (CEST)

hrev45632 adds 1 changeset to branch 'master'
old head: 1b104893478023f9d694271b701ca1e25c905322
new head: 1b17f7ab00ea450c315029358c4eedb166f47c79
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=1b17f7a+%5E1b10489

----------------------------------------------------------------------------

1b17f7a: Fix x86-64 build.

                                      [ Rene Gollent <anevilyak@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev45632
Commit:      1b17f7ab00ea450c315029358c4eedb166f47c79
URL:         http://cgit.haiku-os.org/haiku/commit/?id=1b17f7a
Author:      Rene Gollent <anevilyak@xxxxxxxxx>
Date:        Sun May  5 20:57:51 2013 UTC

----------------------------------------------------------------------------

1 file changed, 2 insertions(+), 2 deletions(-)
src/system/kernel/arch/x86/64/arch.S | 4 ++--

----------------------------------------------------------------------------

diff --git a/src/system/kernel/arch/x86/64/arch.S 
b/src/system/kernel/arch/x86/64/arch.S
index baf8d09..3f9b6d1 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


Other related posts:

  • » [haiku-commits] haiku: hrev45632 - src/system/kernel/arch/x86/64 - anevilyak