]> xenbits.xensource.com Git - people/tklengyel/xen.git/commitdiff
xen/arm64: head: Mark the end of subroutines with ENDPROC (take two)
authorJulien Grall <jgrall@amazon.com>
Tue, 1 Mar 2022 19:59:15 +0000 (19:59 +0000)
committerJulien Grall <jgrall@amazon.com>
Tue, 1 Mar 2022 19:59:28 +0000 (19:59 +0000)
Commit 13c03002c5df ("xen/arm64: head: Mark the end of subroutines
with ENDPROC") intended to mark all the subroutines with ENDPROC.

Unfortunately, I missed fail(), switch_ttbr() and init_uart(). Add
ENDPROC for the benefits of static analysis tools and the reader.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
xen/arch/arm/arm64/head.S

index 314b800b3f8e5cf3456064303ecc71902f6a2922..66d862fc813741faaf7b97fe1a967752da170374 100644 (file)
@@ -800,6 +800,7 @@ ENDPROC(launch)
 fail:   PRINT("- Boot failed -\r\n")
 1:      wfe
         b     1b
+ENDPROC(fail)
 
 GLOBAL(_end_boot)
 
@@ -830,6 +831,7 @@ ENTRY(switch_ttbr)
         isb
 
         ret
+ENDPROC(switch_ttbr)
 
 #ifdef CONFIG_EARLY_PRINTK
 /*
@@ -847,6 +849,7 @@ init_uart:
 #endif
         PRINT("- UART enabled -\r\n")
         ret
+ENDPROC(init_uart)
 
 /* Print early debug messages.
  * x0: Nul-terminated string to print.