From: Rohit Mathew Date: Tue, 18 Oct 2022 21:57:06 +0000 (+0100) Subject: fix(mpam): remove unwanted param for "endfunc" macro X-Git-Tag: baikal/aarch64/sdk5.10~1^2~270^2 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=0e0bd250ef08ba70b34db9eb0cab0f6ef4d08edf;p=arm-tf.git 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 --- 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]