[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <nycvar.YSQ.7.76.1902071051030.2213@knanqh.ubzr>
Date: Thu, 7 Feb 2019 10:52:53 -0500 (EST)
From: Nicolas Pitre <nicolas.pitre@...aro.org>
To: Stefan Agner <stefan@...er.ch>
cc: Russell King - ARM Linux <linux@...linux.org.uk>,
ndesaulniers@...gle.com, natechancellor@...il.com,
Arnd Bergmann <arnd@...db.de>, ard.biesheuvel@...aro.org,
thierry.reding@...il.com, Will Deacon <will.deacon@....com>,
julien.thierry@....com, mark.rutland@....com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/5] ARM: use unified assembler in macros
On Thu, 7 Feb 2019, Stefan Agner wrote:
> Use unified assembler syntax (UAL) in macros. Divided syntax is
> considered depricated. This will also allow to build the kernel
> using LLVM's integrated assembler.
>
> Signed-off-by: Stefan Agner <stefan@...er.ch>
> ---
> arch/arm/lib/copy_from_user.S | 2 +-
> arch/arm/lib/copy_to_user.S | 2 +-
> arch/arm/lib/memcpy.S | 4 ++--
> 3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/lib/copy_from_user.S b/arch/arm/lib/copy_from_user.S
> index 0d4c189c7f4f..712ca399f559 100644
> --- a/arch/arm/lib/copy_from_user.S
> +++ b/arch/arm/lib/copy_from_user.S
> @@ -91,7 +91,7 @@
> .endm
>
> .macro str1b ptr reg cond=al abort
> - str\cond\()b \reg, [\ptr], #1
> + strb\cond\() \reg, [\ptr], #1
You don't need the \() any longer. This was used simply to separate the
b suffix from the cond parameter name.
Nicolas
Powered by blists - more mailing lists