diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S index d42456741eb2..c5da907118d3 100644 --- a/sys/arm64/arm64/locore.S +++ b/sys/arm64/arm64/locore.S @@ -246,11 +246,11 @@ drop_to_el1: mrs x2, icc_sre_el2 orr x2, x2, #ICC_SRE_EL2_EN /* Enable access from insecure EL1 */ msr icc_sre_el2, x2 - isb 2: /* Set the address to return to our return address */ msr elr_el2, x30 + isb eret