]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
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 7e2746412bd219ec5eeca1d2789abdfdfc1af01d..2656b794be786b3b0ac4593611f38cb49ed9a544 100644 (file)
@@ -895,6 +895,7 @@ skip_l2:
        }
 #endif
 
+       init_used_tlb_cams();
 
        return 0;
 }