summaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm/Makefile
diff options
context:
space:
mode:
authorLaura Abbott2016-10-27 18:27:31 +0200
committerCatalin Marinas2016-11-07 19:15:04 +0100
commit4ddb9bf83349b4f4f8178e58c3654ac7ec7edbc6 (patch)
tree6d5ee3eb03f7afda1a006bda20bfa094c57df037 /arch/arm64/mm/Makefile
parentarm64: mm: set the contiguous bit for kernel mappings where appropriate (diff)
downloadkernel-qcow2-linux-4ddb9bf83349b4f4f8178e58c3654ac7ec7edbc6.tar.gz
kernel-qcow2-linux-4ddb9bf83349b4f4f8178e58c3654ac7ec7edbc6.tar.xz
kernel-qcow2-linux-4ddb9bf83349b4f4f8178e58c3654ac7ec7edbc6.zip
arm64: dump: Make ptdump debugfs a separate option
ptdump_register currently initializes a set of page table information and registers debugfs. There are uses for the ptdump option without wanting the debugfs options. Split this out to make it a separate option. Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/Makefile')
-rw-r--r--arch/arm64/mm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/mm/Makefile b/arch/arm64/mm/Makefile
index 54bb209cae8e..e703fb9defad 100644
--- a/arch/arm64/mm/Makefile
+++ b/arch/arm64/mm/Makefile
@@ -3,7 +3,8 @@ obj-y := dma-mapping.o extable.o fault.o init.o \
ioremap.o mmap.o pgd.o mmu.o \
context.o proc.o pageattr.o
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
-obj-$(CONFIG_ARM64_PTDUMP) += dump.o
+obj-$(CONFIG_ARM64_PTDUMP_CORE) += dump.o
+obj-$(CONFIG_ARM64_PTDUMP_DEBUGFS) += ptdump_debugfs.o
obj-$(CONFIG_NUMA) += numa.o
obj-$(CONFIG_KASAN) += kasan_init.o