summaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/strncmp_32.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/lib/strncmp_32.S')
-rw-r--r--arch/sparc/lib/strncmp_32.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/lib/strncmp_32.S b/arch/sparc/lib/strncmp_32.S
index 494ec664537a..c0d1b568c1c5 100644
--- a/arch/sparc/lib/strncmp_32.S
+++ b/arch/sparc/lib/strncmp_32.S
@@ -3,11 +3,10 @@
* generic strncmp routine.
*/
+#include <linux/linkage.h>
+
.text
- .align 4
- .global __strncmp, strncmp
-__strncmp:
-strncmp:
+ENTRY(strncmp)
mov %o0, %g3
mov 0, %o3
@@ -116,3 +115,4 @@ strncmp:
and %g2, 0xff, %o0
retl
sub %o3, %o0, %o0
+ENDPROC(strncmp)