powerpc/mm: Print formation regarding the the MMU mode

This helps in easily identifying the MMU mode with which the kernel
is operating.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Aneesh Kumar K.V
2016-07-13 15:05:25 +05:30
committed by Michael Ellerman
parent accfad7d0a
commit 56547411a0
2 changed files with 4 additions and 2 deletions

View File

@@ -739,7 +739,7 @@ static void __init hash_init_partition_table(phys_addr_t hash_table,
* For now UPRT is 0 for us.
*/
partition_tb->patb1 = 0;
DBG("Partition table %p\n", partition_tb);
pr_info("Partition table %p\n", partition_tb);
/*
* update partition table control register,
* 64 K size.
@@ -947,6 +947,7 @@ void __init hash__early_init_mmu(void)
*/
htab_initialize();
pr_info("Initializing hash mmu with SLB\n");
/* Initialize SLB management */
slb_initialize();
}