OSDN Git Service

powerpc/mm: print hash info in a helper
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 26 Apr 2019 16:36:39 +0000 (16:36 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:20:26 +0000 (01:20 +1000)
commite4dccf9092ab48a6f902003b9558c0e45d0e849a
tree19c90a014b0bc05fe19b996e95b9f1fb23c30fc0
parent8f156c23f4c04ca51961cd1f6a0edbc80caa2683
powerpc/mm: print hash info in a helper

Reduce #ifdef mess by defining a helper to print
hash info at startup.

In the meantime, remove the display of hash table address
to reduce leak of non necessary information.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/setup-common.c
arch/powerpc/mm/book3s32/mmu.c
arch/powerpc/mm/book3s64/hash_utils.c
arch/powerpc/mm/mmu_decl.h