]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(mpam): remove unwanted param for "endfunc" macro
authorRohit Mathew <rohit.mathew@arm.com>
Tue, 18 Oct 2022 21:57:06 +0000 (22:57 +0100)
committerManish Pandey <manish.pandey2@arm.com>
Mon, 9 Jan 2023 16:25:01 +0000 (17:25 +0100)
"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 <rohit.mathew@arm.com>
Change-Id: I05f958a285f936df579f01500b6fd7cb2b7753a8

lib/el3_runtime/aarch64/context.S

index 60501f615bfaed6ca81b32d1fb6dc563dcc9a7ef..aa0327b511c65d2352eefd2a43b64e88b6c5d453 100644 (file)
@@ -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]