powerpc/32s: don't try to print hash table address.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 26 Apr 2019 16:36:37 +0000 (16:36 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:20:26 +0000 (01:20 +1000)
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.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/book3s32/mmu.c

index 03265de05637d382a5b6e68a6107eb76351d6169..131cd3acb6b89e4455efaaa2d1fbb5a9e79ec8bc 100644 (file)
@@ -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);
 
 
        Hash_mask = n_hpteg - 1;