summaryrefslogtreecommitdiff
path: root/arch/sparc/lib/strncmp_64.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-12 07:33:22 +0400
committerDavid S. Miller <davem@davemloft.net>2012-05-12 07:33:22 +0400
commit8695c37d06721c581385725eb80ba4e6d6bdf73f (patch)
tree072f37f58590aea8ca880b6175d127809edd4cec /arch/sparc/lib/strncmp_64.S
parentb55e81b9f8cf0256bcfc548360aef642630c2919 (diff)
downloadlinux-8695c37d06721c581385725eb80ba4e6d6bdf73f.tar.xz
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/strncmp_64.S')
-rw-r--r--arch/sparc/lib/strncmp_64.S8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/sparc/lib/strncmp_64.S b/arch/sparc/lib/strncmp_64.S
index 980e83751556..0656627166f3 100644
--- a/arch/sparc/lib/strncmp_64.S
+++ b/arch/sparc/lib/strncmp_64.S
@@ -4,13 +4,11 @@
* Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
*/
+#include <linux/linkage.h>
#include <asm/asi.h>
.text
- .align 32
- .globl strncmp
- .type strncmp,#function
-strncmp:
+ENTRY(strncmp)
brlez,pn %o2, 3f
lduba [%o0] (ASI_PNF), %o3
1:
@@ -29,4 +27,4 @@ strncmp:
3:
retl
clr %o0
- .size strncmp, .-strncmp
+ENDPROC(strncmp)