]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ptdump: don't entirely rebuild kernel when selecting CONFIG_PPC_DEBUG_WX
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 14 Jan 2020 07:14:40 +0000 (07:14 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jan 2020 10:31:11 +0000 (21:31 +1100)
commitc3f19c0a0d7257df6c19984c53d5828aabb666e4
tree661a08d00e04d9351bb5b1ab39eac4f6cac5b4b5
parent2651e9bab032b352cfac53a8c40f73408487c4fa
powerpc/ptdump: don't entirely rebuild kernel when selecting CONFIG_PPC_DEBUG_WX

Selecting CONFIG_PPC_DEBUG_WX only impacts ptdump and pgtable_32/64
init calls. Declaring related functions in asm/pgtable.h implies
rebuilding almost everything.

Move ptdump_check_wx() declaration in mm/mmu_decl.h

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/bf34fd9dca61eadf9a134a9f89ebbc162cfd5f86.1578986011.git.christophe.leroy@c-s.fr
arch/powerpc/include/asm/pgtable.h
arch/powerpc/mm/mmu_decl.h
arch/powerpc/mm/ptdump/ptdump.c