From: Peter Maydell Date: Thu, 11 Feb 2016 11:17:30 +0000 (+0000) Subject: target-arm: Fix typo in comment in arm_is_secure_below_el3() X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6b7f0b61f080b886c9b4bba8240379ce90e20b12;p=people%2Fliuw%2Flibxenctrl-split%2Fqemu-xen.git target-arm: Fix typo in comment in arm_is_secure_below_el3() Fix a typo where "EL2" was written but "EL3" intended. Signed-off-by: Peter Maydell Reviewed-by: Alex Bennée Reviewed-by: Edgar E. Iglesias Reviewed-by: Sergey Fedorov Message-id: 1454506721-11843-2-git-send-email-peter.maydell@linaro.org --- diff --git a/target-arm/cpu.h b/target-arm/cpu.h index b8b336461..52284e9aa 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -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;