aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sparc/helper.c b/target-sparc/helper.c
index 1a06525764..7a2ac21d06 100644
--- a/target-sparc/helper.c
+++ b/target-sparc/helper.c
@@ -663,6 +663,7 @@ void cpu_reset(CPUSPARCState *env)
env->pstate = PS_PRIV;
env->hpstate = HS_PRIV;
env->tsptr = &env->ts[env->tl & MAXTL_MASK];
+ env->lsu = 0;
#else
env->mmuregs[0] &= ~(MMU_E | MMU_NF);
env->mmuregs[0] |= env->def->mmu_bm;