projects
/
deliverable
/
linux.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
|
blame
|
history
diff --git
a/arch/mips/include/asm/spinlock.h
b/arch/mips/include/asm/spinlock.h
index 5d98a3cb85b711f6b9f8a0f1ff7cf8a82b920778..1a1f320c30d8286cff6d8d16374c9a41fa318ac3 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 {
This page took
0.024586 seconds
and
5
git commands to generate.