aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/lib
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2012-11-16 19:16:20 -0500
committerChris Zankel <chris@zankel.net>2012-12-19 00:10:20 -0500
commitd1538c4675f37d0eeb34bd38bec798b3b29a5a7e (patch)
tree4fa2d2c539825ad99f2f677cef686ea0051fbe9f /arch/xtensa/lib
parentc0226e34a4293dee0e7c5787e1ebfc5ee8b44b7c (diff)
xtensa: provide proper assembler function boundaries with ENDPROC()
Use ENDPROC() to mark the end of assembler functions. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/lib')
-rw-r--r--arch/xtensa/lib/checksum.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/xtensa/lib/checksum.S b/arch/xtensa/lib/checksum.S
index df397f932d0e..0470ca21a359 100644
--- a/arch/xtensa/lib/checksum.S
+++ b/arch/xtensa/lib/checksum.S
@@ -170,7 +170,7 @@ ENTRY(csum_partial)
1703: 1703:
171 j 5b /* branch to handle the remaining byte */ 171 j 5b /* branch to handle the remaining byte */
172 172
173 173ENDPROC(csum_partial)
174 174
175/* 175/*
176 * Copy from ds while checksumming, otherwise like csum_partial 176 * Copy from ds while checksumming, otherwise like csum_partial
@@ -211,6 +211,7 @@ unsigned int csum_partial_copy_generic (const char *src, char *dst, int len,
211 */ 211 */
212 212
213ENTRY(csum_partial_copy_generic) 213ENTRY(csum_partial_copy_generic)
214
214 entry sp, 32 215 entry sp, 32
215 mov a12, a3 216 mov a12, a3
216 mov a11, a4 217 mov a11, a4
@@ -367,6 +368,8 @@ DST( s8i a8, a3, 1 )
3676: 3686:
368 j 4b /* process the possible trailing odd byte */ 369 j 4b /* process the possible trailing odd byte */
369 370
371ENDPROC(csum_partial_copy_generic)
372
370 373
371# Exception handler: 374# Exception handler:
372.section .fixup, "ax" 375.section .fixup, "ax"