Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11071
b: refs/heads/master
c: b63014a
h: refs/heads/master
i:
  11069: 776f89a
  11067: 204b21c
  11063: 0ea2a4f
  11055: c1549e6
  11039: 88d4e91
  11007: 52697f9
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 1ea4419 commit 1822b53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93b25d0621560012ff60a95ae265823b3a5e811a
refs/heads/master: b63014ad2dfd137ac38210c7c5cda7ecc3f536d0
9 changes: 3 additions & 6 deletions trunk/include/asm-mips/spinlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ static inline void __raw_write_lock(raw_rwlock_t *rw)
" lui %1, 0x8000 \n"
" sc %1, %0 \n"
" beqzl %1, 1b \n"
" nop \n"
" sync \n"
" sync \n"
" .set reorder \n"
: "=m" (rw->lock), "=&r" (tmp)
: "m" (rw->lock)
Expand All @@ -223,8 +222,7 @@ static inline void __raw_write_lock(raw_rwlock_t *rw)
" lui %1, 0x8000 \n"
" sc %1, %0 \n"
" beqz %1, 1b \n"
" nop \n"
" sync \n"
" sync \n"
" .set reorder \n"
: "=m" (rw->lock), "=&r" (tmp)
: "m" (rw->lock)
Expand Down Expand Up @@ -258,8 +256,7 @@ static inline int __raw_write_trylock(raw_rwlock_t *rw)
" lui %1, 0x8000 \n"
" sc %1, %0 \n"
" beqzl %1, 1b \n"
" nop \n"
" sync \n"
" sync \n"
" li %2, 1 \n"
" .set reorder \n"
"2: \n"
Expand Down

0 comments on commit 1822b53

Please sign in to comment.