]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
xen/arm32: head: Mark the end of subroutines with ENDPROC
authorJulien Grall <julien.grall@arm.com>
Wed, 26 Jun 2019 11:29:54 +0000 (12:29 +0100)
committerJulien Grall <julien.grall@arm.com>
Sat, 7 Sep 2019 11:10:03 +0000 (12:10 +0100)
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>
xen/arch/arm/arm32/head.S

index 99f4af18d8544559b5b61d3ad8ba727cad96decb..8b4c8a4714f16b72ef81174a7e4d070fa83d225e 100644 (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