diff options
author | Olaf Hering <olh@suse.de> | 2005-10-28 17:46:46 -0700 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-29 15:07:50 +1000 |
commit | 844ae3a0d1638753802770cde881dff0e0704551 (patch) | |
tree | caa1c8314bd3bac029c4564d399593b1cfca15fd /arch/ppc64/boot | |
parent | 9b0cbe97566dd7123eee0462d91703434fe61090 (diff) | |
download | op-kernel-dev-844ae3a0d1638753802770cde881dff0e0704551.zip op-kernel-dev-844ae3a0d1638753802770cde881dff0e0704551.tar.gz |
[PATCH] ppc64 boot: fix typo in asm comments
Update comment in memcpy, r7 contains the byte count.
Signed-off-by: Olaf Hering <olh@suse.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/boot')
-rw-r--r-- | arch/ppc64/boot/string.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/boot/string.S b/arch/ppc64/boot/string.S index 7ade87a..b1eeaed 100644 --- a/arch/ppc64/boot/string.S +++ b/arch/ppc64/boot/string.S @@ -104,7 +104,7 @@ memmove: .globl memcpy memcpy: - rlwinm. r7,r5,32-3,3,31 /* r0 = r5 >> 3 */ + rlwinm. r7,r5,32-3,3,31 /* r7 = r5 >> 3 */ addi r6,r3,-4 addi r4,r4,-4 beq 2f /* if less than 8 bytes to do */ @@ -146,7 +146,7 @@ memcpy: .globl backwards_memcpy backwards_memcpy: - rlwinm. r7,r5,32-3,3,31 /* r0 = r5 >> 3 */ + rlwinm. r7,r5,32-3,3,31 /* r7 = r5 >> 3 */ add r6,r3,r5 add r4,r4,r5 beq 2f |