aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/lib/bitops.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/lib/bitops.S')
-rw-r--r--arch/arm64/lib/bitops.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/lib/bitops.S b/arch/arm64/lib/bitops.S
index fd1e801b53e7..eaed8bbd78fc 100644
--- a/arch/arm64/lib/bitops.S
+++ b/arch/arm64/lib/bitops.S
@@ -50,8 +50,8 @@ ENTRY( \name )
501: ldxr x2, [x1] 501: ldxr x2, [x1]
51 lsr x0, x2, x3 // Save old value of bit 51 lsr x0, x2, x3 // Save old value of bit
52 \instr x2, x2, x4 // toggle bit 52 \instr x2, x2, x4 // toggle bit
53 stxr w2, x2, [x1] 53 stxr w5, x2, [x1]
54 cbnz w2, 1b 54 cbnz w5, 1b
55 smp_dmb ish 55 smp_dmb ish
56 and x0, x0, #1 56 and x0, x0, #1
573: ret 573: ret