]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: Fix bad memcpy.S str8w macro argument count
authorPierre-Clément Tosi <ptosi@google.com>
Wed, 10 Nov 2021 14:04:40 +0000 (15:04 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 15 Nov 2021 19:33:32 +0000 (14:33 -0500)
Remove the extra (empty) argument passed to str8w, causing the following
error:

   <instantiation>:40:47: error: too many positional arguments
     str8w r0, r3, r4, r5, r6, r7, r8, r9, ip, , abort=19f
                                                 ^
   u-boot/arch/arm/lib/memcpy.S:240:5: note: while in macro instantiation
   17: forward_copy_shift pull=16 push=16
       ^

Note: no functional change intended.

Fixes: d8834a1323af ("arm: Use optimized memcpy and memset from linux")
Signed-off-by: Pierre-Clément Tosi <ptosi@google.com>
arch/arm/lib/memcpy.S

index f7fb77235cd642b734fdb17c60f0a4e1b2c9cd64..eee7a219ce3609190df322418749a3d77f47f5f6 100644 (file)
@@ -210,7 +210,7 @@ ENTRY(memcpy)
                orr     r9, r9, ip, lspush #\push
                mov     ip, ip, lspull #\pull
                orr     ip, ip, lr, lspush #\push
-               str8w   r0, r3, r4, r5, r6, r7, r8, r9, ip, abort=19f
+               str8w   r0, r3, r4, r5, r6, r7, r8, r9, ip, abort=19f
                bge     12b
        PLD(    cmn     r2, #96                 )
        PLD(    bge     13b                     )