]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit73263e1b82992253bb17fbe2d737514174587f69
tree19c90a014b0bc05fe19b996e95b9f1fb23c30fc0
parent1176f55039f5a409f5ba096e3ec5d40d81b0c6e5
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