Skip to content
Snippets Groups Projects
Commit 9b8f3863 authored by Johannes Dickgreber's avatar Johannes Dickgreber Committed by Ralf Baechle
Browse files

MIPS: Fix wrong branch target in new spin_lock code.

parent 201c72a3
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment