diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-12 05:33:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-12 05:33:22 +0200 |
commit | 8695c37d06721c581385725eb80ba4e6d6bdf73f (patch) | |
tree | 072f37f58590aea8ca880b6175d127809edd4cec /arch/sparc/lib/ashrdi3.S | |
parent | sparc32: Remove inline strncmp "optimization" for constant counts. (diff) | |
download | linux-8695c37d06721c581385725eb80ba4e6d6bdf73f.tar.xz linux-8695c37d06721c581385725eb80ba4e6d6bdf73f.zip |
sparc: Convert some assembler over to linakge.h's ENTRY/ENDPROC
Use those, instead of doing it all by hand.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/ashrdi3.S')
-rw-r--r-- | arch/sparc/lib/ashrdi3.S | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sparc/lib/ashrdi3.S b/arch/sparc/lib/ashrdi3.S index 85398fd6dcc9..6eb8ba2dd50e 100644 --- a/arch/sparc/lib/ashrdi3.S +++ b/arch/sparc/lib/ashrdi3.S @@ -5,10 +5,10 @@ * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ +#include <linux/linkage.h> + .text - .align 4 - .globl __ashrdi3 -__ashrdi3: +ENTRY(__ashrdi3) tst %o2 be 3f or %g0, 32, %g2 @@ -34,3 +34,4 @@ __ashrdi3: 3: jmpl %o7 + 8, %g0 nop +ENDPROC(__ashrdi3) |