xen/arm32: head: Mark the end of subroutines with ENDPROC

putn() and puts() are two subroutines. Add ENDPROC for the benefits of
static analysis tools and the reader.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Julien Grall committed 2019-09-07 12:10:03 +01:00
1 parent 75843a162b
commit 2ac705a59e
1 file changed
+2
+2
View File
@@ -518,6 +518,7 @@ puts:
moveq pc, lr
early_uart_transmit r11, r1
b puts
ENDPROC(puts)
/*
* Print a 32-bit number in hex. Specific to the PL011 UART.
@@ -537,6 +538,7 @@ putn:
subs r3, r3, #1
bne 1b
mov pc, lr
ENDPROC(putn)
hex: .ascii "0123456789abcdef"
.align 2
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.