From 0e0bd250ef08ba70b34db9eb0cab0f6ef4d08edf Mon Sep 17 00:00:00 2001 From: Rohit Mathew Date: Tue, 18 Oct 2022 22:57:06 +0100 Subject: [PATCH] fix(mpam): remove unwanted param for "endfunc" macro "endfunc" macro is used to mark the end of a function. It takes the function label as an argument. For el2_sysregs_context_save_mpam function, "endfunc" has been called with an assumed typo, "func", along with the function label. Remove this unwanted param to fix the endfunc call. Signed-off-by: Rohit Mathew Change-Id: I05f958a285f936df579f01500b6fd7cb2b7753a8 --- lib/el3_runtime/aarch64/context.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/el3_runtime/aarch64/context.S b/lib/el3_runtime/aarch64/context.S index 60501f615..aa0327b51 100644 --- a/lib/el3_runtime/aarch64/context.S +++ b/lib/el3_runtime/aarch64/context.S @@ -285,7 +285,7 @@ func el2_sysregs_context_save_mpam mrs x12, MPAMVPMV_EL2 stp x11, x12, [x0, #CTX_MPAMVPM7_EL2] ret -endfunc func el2_sysregs_context_save_mpam +endfunc el2_sysregs_context_save_mpam func el2_sysregs_context_restore_mpam ldr x10, [x0, #CTX_MPAM2_EL2] -- 2.39.5