diff options
author | Will Deacon <will.deacon@arm.com> | 2015-07-29 15:16:22 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-07-29 18:32:09 +0100 |
commit | 484c96dbb26965d712a808ab9e8b00090455bdf6 (patch) | |
tree | 5ee83538dea60da365f83905f29e03cb27a9493a /arch/arm64 | |
parent | 63a581865e9ee7b1277f1e4941d0765fdbde032a (diff) | |
download | blackbird-op-linux-484c96dbb26965d712a808ab9e8b00090455bdf6.tar.gz blackbird-op-linux-484c96dbb26965d712a808ab9e8b00090455bdf6.zip |
arm64: lse: fix lse cmpxchg code indentation
For some reason, the ll/sc cmpxchg asm is all off to the left and
awkward to read in conjunction with the following (correctly indented)
LSE version.
This patch shifts the ll/sc code back to where it should be.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/include/asm/atomic_lse.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm64/include/asm/atomic_lse.h b/arch/arm64/include/asm/atomic_lse.h index f873bf61e17b..55d740e63459 100644 --- a/arch/arm64/include/asm/atomic_lse.h +++ b/arch/arm64/include/asm/atomic_lse.h @@ -319,9 +319,9 @@ static inline unsigned long __cmpxchg_case_##name(volatile void *ptr, \ \ asm volatile(ARM64_LSE_ATOMIC_INSN( \ /* LL/SC */ \ - "nop\n" \ - __LL_SC_CMPXCHG(name) \ - "nop", \ + " nop\n" \ + __LL_SC_CMPXCHG(name) \ + " nop", \ /* LSE atomics */ \ " mov " #w "30, %" #w "[old]\n" \ " cas" #mb #sz "\t" #w "30, %" #w "[new], %[v]\n" \ |