From 58f90f21f4d8e3b105b3e3669334f1b98141075c Mon Sep 17 00:00:00 2001 From: Bharat Bhushan Date: Mon, 26 Mar 2012 17:56:46 +0000 Subject: [PATCH] booke:Use MMU API for creating initial mapping for secondary cpus Initial Mapping creation for secondary CPU in SMP was missing new MMU API. Signed-off-by: Bharat Bhushan Signed-off-by: Alexander Graf --- hw/ppce500_spin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c index 960b7b0c3d..95a2825bbd 100644 --- a/hw/ppce500_spin.c +++ b/hw/ppce500_spin.c @@ -86,6 +86,7 @@ static void mmubooke_create_initial_mapping(CPUPPCState *env, tlb->mas2 = (va & TARGET_PAGE_MASK) | MAS2_M; tlb->mas7_3 = pa & TARGET_PAGE_MASK; tlb->mas7_3 |= MAS3_UR | MAS3_UW | MAS3_UX | MAS3_SR | MAS3_SW | MAS3_SX; + env->tlb_dirty = true; } static void spin_kick(void *data)