target-arm: Correct a comment refering to EL0
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 1 May 2014 14:24:46 +0000 (15:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 1 May 2014 14:24:46 +0000 (15:24 +0100)
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1398926097-28097-5-git-send-email-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/op_helper.c

index 57e7d9c48052835ef8662cbe7562085cd1f40931..fb90676bd5d54fff2d6336f3ec5c207b2e0e9b7d 100644 (file)
@@ -418,7 +418,7 @@ void HELPER(exception_return)(CPUARMState *env)
             goto illegal_return;
         }
         if (new_el == 0 && (spsr & PSTATE_SP)) {
-            /* Return to EL1 with M[0] bit set */
+            /* Return to EL0 with M[0] bit set */
             goto illegal_return;
         }
         env->aarch64 = 1;