From: Jesper Nilsson Date: Tue, 3 Aug 2010 14:18:22 +0000 (+0200) Subject: CRIS: Add debug info for assembler code X-Git-Tag: firefly_0821_release~9833^2~1219^2~24 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2d0503d1a6816e920e5b827bbe4eea7370c8130e;p=firefly-linux-kernel-4.4.55.git CRIS: Add debug info for assembler code Signed-off-by: Jesper Nilsson --- 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 @@ .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 +