Use the generic xen/linkage.h macros to annotate code symbols
and add missing annotations.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
.endm
/* Gets the current vector register size in bytes */
-GLOBAL(sve_get_hw_vl)
+FUNC(sve_get_hw_vl)
_sve_rdvl 0, 1
ret
+END(sve_get_hw_vl)
/*
* Save the SVE context
* x1 - pointer to buffer for P0-15
* x2 - Save FFR if non-zero
*/
-GLOBAL(sve_save_ctx)
+FUNC(sve_save_ctx)
sve_save 0, 1, x2
ret
+END(sve_save_ctx)
/*
* Load the SVE context
* x1 - pointer to buffer for P0-15
* x2 - Restore FFR if non-zero
*/
-GLOBAL(sve_load_ctx)
+FUNC(sve_load_ctx)
sve_load 0, 1, x2
ret
+END(sve_load_ctx)
/*
* Local variables: