summaryrefslogtreecommitdiffstats
path: root/target-moxie/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-moxie/helper.c')
-rw-r--r--target-moxie/helper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-moxie/helper.c b/target-moxie/helper.c
index 6c98965..f91ac28 100644
--- a/target-moxie/helper.c
+++ b/target-moxie/helper.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
-#include <assert.h>
#include "config.h"
#include "cpu.h"
@@ -56,7 +55,7 @@ void helper_raise_exception(CPUMoxieState *env, int ex)
/* Stash the address where the exception occurred. */
cpu_restore_state(cs, GETPC());
env->sregs[5] = env->pc;
- /* Jump the the exception handline routine. */
+ /* Jump to the exception handline routine. */
env->pc = env->sregs[1];
cpu_loop_exit(cs);
}
OpenPOWER on IntegriCloud