aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32/lib/spinlock.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/arch-v32/lib/spinlock.S')
-rw-r--r--arch/cris/arch-v32/lib/spinlock.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/cris/arch-v32/lib/spinlock.S b/arch/cris/arch-v32/lib/spinlock.S
index 79087ef59a1c..fe610b9d775f 100644
--- a/arch/cris/arch-v32/lib/spinlock.S
+++ b/arch/cris/arch-v32/lib/spinlock.S
@@ -6,7 +6,9 @@
6 6
7 7
8 .global cris_spin_lock 8 .global cris_spin_lock
9 .type cris_spin_lock,@function
9 .global cris_spin_trylock 10 .global cris_spin_trylock
11 .type cris_spin_trylock,@function
10 12
11 .text 13 .text
12 14
@@ -22,6 +24,8 @@ cris_spin_lock:
22 ret 24 ret
23 nop 25 nop
24 26
27 .size cris_spin_lock, . - cris_spin_lock
28
25cris_spin_trylock: 29cris_spin_trylock:
26 clearf p 30 clearf p
271: move.b [$r10], $r11 311: move.b [$r10], $r11
@@ -31,3 +35,6 @@ cris_spin_trylock:
31 clearf p 35 clearf p
32 ret 36 ret
33 movu.b $r11,$r10 37 movu.b $r11,$r10
38
39 .size cris_spin_trylock, . - cris_spin_trylock
40