Skip to content

Commit

Permalink
CRIS: Add debug info for assembler code
Browse files Browse the repository at this point in the history
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
  • Loading branch information
Jesper Nilsson committed Aug 4, 2010
1 parent 3a38125 commit 2d0503d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 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 2d0503d

Please sign in to comment.