[PATCH] ppc64 boot: fix typo in asm comments
authorOlaf Hering <olh@suse.de>
Sat, 29 Oct 2005 00:46:46 +0000 (17:46 -0700)
committerPaul Mackerras <paulus@samba.org>
Sat, 29 Oct 2005 05:07:50 +0000 (15:07 +1000)
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>
arch/ppc64/boot/string.S

index 7ade87ae7718304fc6ef0ff70c9d36a2cb9a523f..b1eeaed7db177e273c6e014c4d0c882e82cee739 100644 (file)
@@ -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