ARM: 8827/1: fix argument count to match macro definition
authorStefan Agner <stefan@agner.ch>
Thu, 24 Jan 2019 20:41:59 +0000 (21:41 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 1 Feb 2019 21:44:13 +0000 (21:44 +0000)
commitbaf2df8e15be22b8bd24bdd6fd4575b6641bcfd1
tree8b6b090b973d71f064ed859b59284f04638e7105
parent071d184a19f673bbb69a593c2ff4bd7acc0d1fe6
ARM: 8827/1: fix argument count to match macro definition

The macro str8w takes 10 arguments, abort being the 10th. In this
particular instantiation the abort argument is passed as 11th
argument leading to an error when using LLVM's integrated
assembler:
  <instantiation>:46:47: error: too many positional arguments
    str8w r0, r3, r4, r5, r6, r7, r8, r9, ip, , abort=19f
                                                ^
  arch/arm/lib/copy_template.S:277:5: note: while in macro instantiation
  18: forward_copy_shift pull=24 push=8
      ^

The argument is not used in the macro hence this does not change
code generation.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/lib/copy_template.S