提交 56547411 编写于 作者: A Aneesh Kumar K.V 提交者: Michael Ellerman

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: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 accfad7d
......@@ -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();
}
......
......@@ -182,7 +182,8 @@ static void __init radix_init_partition_table(void)
partition_tb = early_alloc_pgtable(1UL << PATB_SIZE_SHIFT);
partition_tb->patb0 = cpu_to_be64(rts_field | __pa(init_mm.pgd) |
RADIX_PGD_INDEX_SIZE | PATB_HR);
printk("Partition table %p\n", partition_tb);
pr_info("Initializing Radix MMU\n");
pr_info("Partition table %p\n", partition_tb);
memblock_set_current_limit(MEMBLOCK_ALLOC_ANYWHERE);
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册