Patchwork [v1,4/4] target-arm: Correct a comment refering to EL0

login
register
mail settings
Submitter Edgar Iglesias
Date May 1, 2014, 6:34 a.m.
Message ID <1398926097-28097-5-git-send-email-edgar.iglesias@gmail.com>
Download mbox | patch
Permalink /patch/344444/
State New
Headers show

Comments

Edgar Iglesias - May 1, 2014, 6:34 a.m.
From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
---
 target-arm/op_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c
index 57e7d9c..fb90676 100644
--- a/target-arm/op_helper.c
+++ b/target-arm/op_helper.c
@@ -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;