diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-07-08 18:49:43 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-25 05:35:48 +0200 |
commit | e084728393a58e7fdafeee2e6b20e0faff09b557 (patch) | |
tree | e5ceb3cfec3a45b08719a0c9d032e889bd1369d2 /arch/powerpc/mm/ptdump/Makefile | |
parent | powerpc/ptdump: Reduce level numbers by 1 in note_page() and add p4d level (diff) | |
download | linux-e084728393a58e7fdafeee2e6b20e0faff09b557.tar.xz linux-e084728393a58e7fdafeee2e6b20e0faff09b557.zip |
powerpc/ptdump: Convert powerpc to GENERIC_PTDUMP
This patch converts powerpc to the generic PTDUMP implementation.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/03166d569526be70214fe9370a7bad219d2f41c8.1625762907.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/mm/ptdump/Makefile')
-rw-r--r-- | arch/powerpc/mm/ptdump/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/powerpc/mm/ptdump/Makefile b/arch/powerpc/mm/ptdump/Makefile index 712762be3cb1..4050cbb55acf 100644 --- a/arch/powerpc/mm/ptdump/Makefile +++ b/arch/powerpc/mm/ptdump/Makefile @@ -5,5 +5,10 @@ obj-y += ptdump.o obj-$(CONFIG_4xx) += shared.o obj-$(CONFIG_PPC_8xx) += 8xx.o obj-$(CONFIG_PPC_BOOK3E_MMU) += shared.o -obj-$(CONFIG_PPC_BOOK3S_32) += shared.o bats.o segment_regs.o -obj-$(CONFIG_PPC_BOOK3S_64) += book3s64.o hashpagetable.o +obj-$(CONFIG_PPC_BOOK3S_32) += shared.o +obj-$(CONFIG_PPC_BOOK3S_64) += book3s64.o + +ifdef CONFIG_PTDUMP_DEBUGFS +obj-$(CONFIG_PPC_BOOK3S_32) += bats.o segment_regs.o +obj-$(CONFIG_PPC_BOOK3S_64) += hashpagetable.o +endif |