提交 9b8f3863 编写于 作者: J Johannes Dickgreber 提交者: Ralf Baechle

MIPS: Fix wrong branch target in new spin_lock code.

Signed-off-by: NJohannes Dickgreber <tanzy@gmx.de>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册