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>
This commit is contained in:
David S. Miller
2012-05-11 20:33:22 -07:00
parent b55e81b9f8
commit 8695c37d06
15 changed files with 97 additions and 143 deletions

View File

@@ -3,10 +3,10 @@
* generic strncmp routine.
*/
#include <linux/linkage.h>
.text
.align 4
.global strncmp
strncmp:
ENTRY(strncmp)
mov %o0, %g3
mov 0, %o3
@@ -115,3 +115,4 @@ strncmp:
and %g2, 0xff, %o0
retl
sub %o3, %o0, %o0
ENDPROC(strncmp)