projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201c72a
)
MIPS: Fix wrong branch target in new spin_lock code.
author
Johannes Dickgreber
<tanzy@gmx.de>
Mon, 13 Oct 2008 17:33:32 +0000
(19:33 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 15 Oct 2008 11:46:50 +0000
(12:46 +0100)
Signed-off-by: Johannes Dickgreber <tanzy@gmx.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/spinlock.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/spinlock.h
b/arch/mips/include/asm/spinlock.h
index
5d98a3c
..
1a1f320
100644
(file)
--- 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 {