[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <088ecb1e526e3ccfd58dd3f7cae8a98edd23008c.1546185298.git.stefan@agner.ch>
Date: Sun, 30 Dec 2018 17:08:19 +0100
From: Stefan Agner <stefan@...er.ch>
To: linux@...linux.org.uk
Cc: ndesaulniers@...gle.com, natechancellor@...il.com, arnd@...db.de,
ard.biesheuvel@...aro.org, nicolas.pitre@...aro.org,
peterz@...radead.org, mingo@...hat.com, will.deacon@....com,
julien.thierry@....com, mark.rutland@....com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Stefan Agner <stefan@...er.ch>
Subject: [PATCH 3/3] ARM: spinlock: use unified assembler language syntax
Convert the conditional infix to a postfix to make sure this inline
assembly is unified syntax.
Signed-off-by: Stefan Agner <stefan@...er.ch>
---
arch/arm/include/asm/spinlock.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/spinlock.h b/arch/arm/include/asm/spinlock.h
index 099c78fcf62d..563ecedf2a1f 100644
--- a/arch/arm/include/asm/spinlock.h
+++ b/arch/arm/include/asm/spinlock.h
@@ -214,7 +214,7 @@ static inline void arch_read_lock(arch_rwlock_t *rw)
" adds %0, %0, #1\n"
" strexpl %1, %0, [%2]\n"
WFE("mi")
-" rsbpls %0, %1, #0\n"
+" rsbspl %0, %1, #0\n"
" bmi 1b"
: "=&r" (tmp), "=&r" (tmp2)
: "r" (&rw->lock)
--
2.20.1
Powered by blists - more mailing lists