diff options
author | Johannes Dickgreber <tanzy@gmx.de> | 2008-10-13 19:33:32 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-10-15 13:46:50 +0200 |
commit | 9b8f3863d958eaf8747d9daf89998b558bcd6e33 (patch) | |
tree | 43ae7a58ce231747678066a6bf56f933a868abea | |
parent | MIPS: Have a heart for a lonely, lost header file ... (diff) | |
download | linux-9b8f3863d958eaf8747d9daf89998b558bcd6e33.tar.xz linux-9b8f3863d958eaf8747d9daf89998b558bcd6e33.zip |
MIPS: Fix wrong branch target in new spin_lock code.
Signed-off-by: Johannes Dickgreber <tanzy@gmx.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/include/asm/spinlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/spinlock.h b/arch/mips/include/asm/spinlock.h index 5d98a3cb85b7..1a1f320c30d8 100644 --- a/arch/mips/include/asm/spinlock.h +++ b/arch/mips/include/asm/spinlock.h @@ -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 { |