powerpc/mpc85xx: Update TLB CAMs in relocated mode
authorAlexander Graf <agraf@suse.de>
Wed, 30 Apr 2014 17:21:12 +0000 (19:21 +0200)
committerYork Sun <yorksun@freescale.com>
Tue, 13 May 2014 15:26:56 +0000 (08:26 -0700)
We want to use the TLB mapping helpers in relocated mode as well. These helpers
need to have awareness of already occupied TLB entries. We already had them in
sync in non-relocated mode, but need to resync them when we move into relocated.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/cpu/mpc85xx/cpu_init.c

index 7e27464..2656b79 100644 (file)
@@ -895,6 +895,7 @@ skip_l2:
        }
 #endif
 
+       init_used_tlb_cams();
 
        return 0;
 }