git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: Fix mips_atomic_set() retry condition
[pandora-kernel.git]
/
arch
/
mips
/
kernel
/
syscall.c
diff --git
a/arch/mips/kernel/syscall.c
b/arch/mips/kernel/syscall.c
index
d027657
..
4e40a90
100644
(file)
--- a/
arch/mips/kernel/syscall.c
+++ b/
arch/mips/kernel/syscall.c
@@
-203,7
+203,7
@@
static inline int mips_atomic_set(struct pt_regs *regs,
"1: ll %[old], (%[addr]) \n"
" move %[tmp], %[new] \n"
"2: sc %[tmp], (%[addr]) \n"
- " b
ne
z %[tmp], 4f \n"
+ " b
eq
z %[tmp], 4f \n"
"3: \n"
" .subsection 2 \n"
"4: b 1b \n"