summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-04-26 18:36:37 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2019-05-02 17:20:26 +0200
commit8f156c23f4c04ca51961cd1f6a0edbc80caa2683 (patch)
treee7de29cae05b662b67b468f35c861a75ff269025
parentpowerpc/32s: drop Hash_end (diff)
downloadlinux-8f156c23f4c04ca51961cd1f6a0edbc80caa2683.tar.xz
linux-8f156c23f4c04ca51961cd1f6a0edbc80caa2683.zip
powerpc/32s: don't try to print hash table address.
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>
-rw-r--r--arch/powerpc/mm/book3s32/mmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/book3s32/mmu.c b/arch/powerpc/mm/book3s32/mmu.c
index 03265de05637..131cd3acb6b8 100644
--- a/arch/powerpc/mm/book3s32/mmu.c
+++ b/arch/powerpc/mm/book3s32/mmu.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);
Hash_mask = n_hpteg - 1;