]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
CRIS: Add debug info for assembler code
authorJesper Nilsson <jesper.nilsson@axis.com>
Tue, 3 Aug 2010 14:18:22 +0000 (16:18 +0200)
committerJesper Nilsson <jesper.nilsson@axis.com>
Wed, 4 Aug 2010 11:02:30 +0000 (13:02 +0200)
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v32/lib/spinlock.S

index 79087ef59a1cfdf6e1286f0457798c52f3e2dd3c..fe610b9d775f512a22ad4eb86f3e1724232b135f 100644 (file)
@@ -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
+