diff options
Diffstat (limited to 'arch/sparc/lib/strncmp_32.S')
-rw-r--r-- | arch/sparc/lib/strncmp_32.S | 8 |
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 @@ | |||
3 | * generic strncmp routine. | 3 | * generic strncmp routine. |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <linux/linkage.h> | ||
7 | |||
6 | .text | 8 | .text |
7 | .align 4 | 9 | ENTRY(strncmp) |
8 | .global __strncmp, strncmp | ||
9 | __strncmp: | ||
10 | strncmp: | ||
11 | mov %o0, %g3 | 10 | mov %o0, %g3 |
12 | mov 0, %o3 | 11 | mov 0, %o3 |
13 | 12 | ||
@@ -116,3 +115,4 @@ strncmp: | |||
116 | and %g2, 0xff, %o0 | 115 | and %g2, 0xff, %o0 |
117 | retl | 116 | retl |
118 | sub %o3, %o0, %o0 | 117 | sub %o3, %o0, %o0 |
118 | ENDPROC(strncmp) | ||