]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target-arm: Fix typo in comment in arm_is_secure_below_el3()
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Feb 2016 11:17:30 +0000 (11:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Feb 2016 11:17:30 +0000 (11:17 +0000)
Fix a typo where "EL2" was written but "EL3" intended.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com>
Message-id: 1454506721-11843-2-git-send-email-peter.maydell@linaro.org

target-arm/cpu.h

index b8b336461579d119374e8efcf19914d8977c200b..52284e9aaf2881aab695b056eb19134cb80c402c 100644 (file)
@@ -931,7 +931,7 @@ static inline bool arm_is_secure_below_el3(CPUARMState *env)
     if (arm_feature(env, ARM_FEATURE_EL3)) {
         return !(env->cp15.scr_el3 & SCR_NS);
     } else {
-        /* If EL2 is not supported then the secure state is implementation
+        /* If EL3 is not supported then the secure state is implementation
          * defined, in which case QEMU defaults to non-secure.
          */
         return false;