Due to %p, (ptrval) is printed in lieu of the hash table address.

showing the hash table address isn't an operationnal need so just
don't print it.

Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
v2: no change

 arch/powerpc/mm/ppc_mmu_32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/mm/ppc_mmu_32.c b/arch/powerpc/mm/ppc_mmu_32.c
index 302409fcfbc7..088f14d57cce 100644
--- a/arch/powerpc/mm/ppc_mmu_32.c
+++ b/arch/powerpc/mm/ppc_mmu_32.c
@@ -345,8 +345,8 @@ void __init MMU_init_hw(void)
                      __func__, Hash_size, Hash_size);
        _SDR1 = __pa(Hash) | SDR1_LOW_BITS;
 
-       printk("Total memory = %lldMB; using %ldkB for hash table (at %p)\n",
-              (unsigned long long)(total_memory >> 20), Hash_size >> 10, Hash);
+       pr_info("Total memory = %lldMB; using %ldkB for hash table\n",
+               (unsigned long long)(total_memory >> 20), Hash_size >> 10);
 
 
        /*
-- 
2.13.3

Reply via email to