diff options
author | Rashmica Gupta <rashmicy@gmail.com> | 2016-05-27 07:48:59 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-11-17 07:11:46 +0100 |
commit | 8eb07b187000d48152c4ef97f075bdfd82575e8f (patch) | |
tree | 8611028d0616b147433290c3c70737e8a7c1ba39 /arch/powerpc/mm/Makefile | |
parent | powerpc/pseries: Move CMO code from plapr_wrappers.h to platforms/pseries (diff) | |
download | linux-8eb07b187000d48152c4ef97f075bdfd82575e8f.tar.xz linux-8eb07b187000d48152c4ef97f075bdfd82575e8f.zip |
powerpc/mm: Dump linux pagetables
Useful to be able to dump the kernels page tables to check permissions
and memory types - derived from arm64's implementation.
Add a debugfs file to check the page tables. To use this the PPC_PTDUMP
config option must be selected.
Signed-off-by: Rashmica Gupta <rashmicy@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/Makefile')
-rw-r--r-- | arch/powerpc/mm/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/Makefile b/arch/powerpc/mm/Makefile index 1a4e570f7894..5b3e4d560315 100644 --- a/arch/powerpc/mm/Makefile +++ b/arch/powerpc/mm/Makefile @@ -42,3 +42,4 @@ 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 |