Commit 9b8f3863 authored by Johannes Dickgreber's avatar Johannes Dickgreber Committed by Ralf Baechle

MIPS: Fix wrong branch target in new spin_lock code.

Signed-off-by: default avatarJohannes Dickgreber <tanzy@gmx.de>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 201c72a3
......@@ -147,7 +147,7 @@ static inline void __raw_spin_unlock(raw_spinlock_t *lock)
" ori %[ticket], %[ticket], 0x2000 \n"
" xori %[ticket], %[ticket], 0x2000 \n"
" sc %[ticket], %[ticket_ptr] \n"
" beqzl %[ticket], 2f \n"
" beqzl %[ticket], 1b \n"
: [ticket_ptr] "+m" (lock->lock),
[ticket] "=&r" (tmp));
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment