[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <nycvar.YSQ.7.76.1902071055380.2213@knanqh.ubzr>
Date: Thu, 7 Feb 2019 11:10:16 -0500 (EST)
From: Nicolas Pitre <nicolas.pitre@...aro.org>
To: Stefan Agner <stefan@...er.ch>
cc: linux@...linux.org.uk, ndesaulniers@...gle.com,
natechancellor@...il.com, arnd@...db.de, ard.biesheuvel@...aro.org,
thierry.reding@...il.com, will.deacon@....com,
julien.thierry@....com, mark.rutland@....com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 2/5] ARM: use unified assembler in headers
On Thu, 7 Feb 2019, Stefan Agner wrote:
> Use unified assembler syntax (UAL) in headers. 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/include/asm/assembler.h | 8 ++++----
> arch/arm/include/asm/vfpmacros.h | 8 ++++----
> arch/arm/lib/bitops.h | 8 ++++----
> 3 files changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/arch/arm/include/asm/assembler.h b/arch/arm/include/asm/assembler.h
> index 28a48e0d4cca..60465b55683c 100644
> --- a/arch/arm/include/asm/assembler.h
> +++ b/arch/arm/include/asm/assembler.h
> @@ -376,7 +376,7 @@ THUMB( orr \reg , \reg , #PSR_T_BIT )
> .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER()
> 9999:
> .if \inc == 1
> - \instr\cond\()b\()\t\().w \reg, [\ptr, #\off]
> + \instr\()b\cond\()\t\().w \reg, [\ptr, #\off]
Similar comment here: you added a \() between \instr and b as needed,
but the one between \cond and \t (which was already redundant before)
may go.
Nicolas
Powered by blists - more mailing lists