aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-ppc/op_helper.c2
-rw-r--r--target-ppc/translate.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
index a0e9360282..5bd138da5c 100644
--- a/target-ppc/op_helper.c
+++ b/target-ppc/op_helper.c
@@ -361,7 +361,7 @@ void do_icbi (void)
/* TLB invalidation helpers */
void do_tlbia (void)
{
- tlb_flush(env);
+ tlb_flush(env, 1);
}
void do_tlbie (void)
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 9ad8f6dea1..1b16fd5410 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -2997,7 +2997,7 @@ CPUPPCState *cpu_ppc_init(void)
if (create_ppc_proc(ppc_opcodes, env->spr[PVR]) < 0)
return NULL;
init_spr_rights(env->spr[PVR]);
- tlb_flush(env);
+ tlb_flush(env, 1);
#if defined (DO_SINGLE_STEP)
/* Single step trace mode */
msr_se = 1;