Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207136
b: refs/heads/master
c: 2d0503d
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Nilsson committed Aug 4, 2010
1 parent 5c872ba commit 9bba81c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a38125d3eda41972caee512d9823b964e0c16fc
refs/heads/master: 2d0503d1a6816e920e5b827bbe4eea7370c8130e
7 changes: 7 additions & 0 deletions trunk/arch/cris/arch-v32/lib/spinlock.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@


.global cris_spin_lock
.type cris_spin_lock,@function
.global cris_spin_trylock
.type cris_spin_trylock,@function

.text

Expand All @@ -22,6 +24,8 @@ cris_spin_lock:
ret
nop

.size cris_spin_lock, . - cris_spin_lock

cris_spin_trylock:
clearf p
1: move.b [$r10], $r11
Expand All @@ -31,3 +35,6 @@ cris_spin_trylock:
clearf p
ret
movu.b $r11,$r10

.size cris_spin_trylock, . - cris_spin_trylock

0 comments on commit 9bba81c

Please sign in to comment.