diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-11 23:33:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-11 23:33:22 -0400 |
commit | 8695c37d06721c581385725eb80ba4e6d6bdf73f (patch) | |
tree | 072f37f58590aea8ca880b6175d127809edd4cec /arch/sparc/lib/lshrdi3.S | |
parent | b55e81b9f8cf0256bcfc548360aef642630c2919 (diff) |
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/lshrdi3.S')
-rw-r--r-- | arch/sparc/lib/lshrdi3.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sparc/lib/lshrdi3.S b/arch/sparc/lib/lshrdi3.S index 47a1354c1602..60ebc7cdbee0 100644 --- a/arch/sparc/lib/lshrdi3.S +++ b/arch/sparc/lib/lshrdi3.S | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/linkage.h> | ||
1 | 2 | ||
2 | .globl __lshrdi3 | 3 | ENTRY(__lshrdi3) |
3 | __lshrdi3: | ||
4 | cmp %o2, 0 | 4 | cmp %o2, 0 |
5 | be 3f | 5 | be 3f |
6 | mov 0x20, %g2 | 6 | mov 0x20, %g2 |
@@ -24,3 +24,4 @@ __lshrdi3: | |||
24 | 3: | 24 | 3: |
25 | retl | 25 | retl |
26 | nop | 26 | nop |
27 | ENDPROC(__lshrdi3) | ||