summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/Makefile
diff options
context:
space:
mode:
authorRashmica Gupta <rashmicy@gmail.com>2016-05-27 15:49:00 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-11-17 17:11:47 +1100
commit1515ab932156257afd8a5864506dab80f63ff38b (patch)
tree6d6f76604f5a50c54e4f1abb2359d4b266d84215 /arch/powerpc/mm/Makefile
parent8eb07b187000d48152c4ef97f075bdfd82575e8f (diff)
downloadlinux-1515ab932156257afd8a5864506dab80f63ff38b.tar.bz2
powerpc/mm: Dump hash table
Useful to be able to dump the kernel hash page table to check which pages are hashed along with their sizes and other details. Add a debugfs file to check the hash page table. If radix is enabled (and so there is no hash page table) then this file doesn't exist. To use this the PPC_PTDUMP config option must be selected. Signed-off-by: Rashmica Gupta <rashmicy@gmail.com> [mpe: Fix build with SPARSEMEM_VMEMMAP=n & PSERIES=n] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/Makefile')
-rw-r--r--arch/powerpc/mm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/mm/Makefile b/arch/powerpc/mm/Makefile
index 5b3e4d560315..f4ffe1f68ce9 100644
--- a/arch/powerpc/mm/Makefile
+++ b/arch/powerpc/mm/Makefile
@@ -42,4 +42,5 @@ obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
obj-$(CONFIG_HIGHMEM) += highmem.o
obj-$(CONFIG_PPC_COPRO_BASE) += copro_fault.o
obj-$(CONFIG_SPAPR_TCE_IOMMU) += mmu_context_iommu.o
-obj-$(CONFIG_PPC_PTDUMP) += dump_linuxpagetables.o
+obj-$(CONFIG_PPC_PTDUMP) += dump_linuxpagetables.o \
+ dump_hashpagetable.o