summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/nios2/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h
index 4d63006ffe..477a661f17 100644
--- a/target/nios2/cpu.h
+++ b/target/nios2/cpu.h
@@ -272,7 +272,7 @@ static inline void cpu_get_tb_cpu_state(CPUNios2State *env, target_ulong *pc,
{
*pc = env->pc;
*cs_base = 0;
- *flags = env->ctrl[CR_STATUS] & (CR_STATUS_EH | CR_STATUS_U);
+ *flags = env->ctrl[CR_STATUS] & CR_STATUS_U;
}
#endif /* NIOS2_CPU_H */