summaryrefslogtreecommitdiff
path: root/arch/sparc/lib/ashldi3.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-11 20:33:22 -0700
committerDavid S. Miller <davem@davemloft.net>2012-05-11 20:33:22 -0700
commit8695c37d06721c581385725eb80ba4e6d6bdf73f (patch)
tree072f37f58590aea8ca880b6175d127809edd4cec /arch/sparc/lib/ashldi3.S
parentb55e81b9f8cf0256bcfc548360aef642630c2919 (diff)
downloadlwn-8695c37d06721c581385725eb80ba4e6d6bdf73f.tar.gz
lwn-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/ashldi3.S')
-rw-r--r--arch/sparc/lib/ashldi3.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sparc/lib/ashldi3.S b/arch/sparc/lib/ashldi3.S
index 17912e608716..86f60de07b0a 100644
--- a/arch/sparc/lib/ashldi3.S
+++ b/arch/sparc/lib/ashldi3.S
@@ -5,10 +5,10 @@
* Copyright (C) 1999 David S. Miller (davem@redhat.com)
*/
+#include <linux/linkage.h>
+
.text
- .align 4
- .globl __ashldi3
-__ashldi3:
+ENTRY(__ashldi3)
cmp %o2, 0
be 9f
mov 0x20, %g2
@@ -32,3 +32,4 @@ __ashldi3:
9:
retl
nop
+ENDPROC(__ashldi3)