aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2010-08-03 16:18:22 +0200
committerJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 13:02:30 +0200
commit2d0503d1a6816e920e5b827bbe4eea7370c8130e (patch)
tree1c0b3fc6f28e6ca1d6fc0a63bced8df2e7a1a53c /arch/cris/arch-v32
parent3a38125d3eda41972caee512d9823b964e0c16fc (diff)
downloadkernel_goldelico_gta04-2d0503d1a6816e920e5b827bbe4eea7370c8130e.zip
kernel_goldelico_gta04-2d0503d1a6816e920e5b827bbe4eea7370c8130e.tar.gz
kernel_goldelico_gta04-2d0503d1a6816e920e5b827bbe4eea7370c8130e.tar.bz2
CRIS: Add debug info for assembler code
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/arch-v32')
-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 79087ef..fe610b9 100644
--- a/arch/cris/arch-v32/lib/spinlock.S
+++ b/arch/cris/arch-v32/lib/spinlock.S
@@ -6,7 +6,9 @@
.global cris_spin_lock
+ .type cris_spin_lock,@function
.global cris_spin_trylock
+ .type cris_spin_trylock,@function
.text
@@ -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
@@ -31,3 +35,6 @@ cris_spin_trylock:
clearf p
ret
movu.b $r11,$r10
+
+ .size cris_spin_trylock, . - cris_spin_trylock
+