]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dump: Make the page table dumping seq_file optional
authorLaura Abbott <labbott@redhat.com>
Thu, 27 Oct 2016 16:27:32 +0000 (09:27 -0700)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 7 Nov 2016 18:15:04 +0000 (18:15 +0000)
commitaee6e8118de362e89fbc6e802771a792591948a8
treefb32b5d391944a59fd6583996b1a6a72452f4d59
parentbba8c32cde268335088a15a208769b2bd70bad3c
arm64: dump: Make the page table dumping seq_file optional

The page table dumping code always assumes it will be dumping to a
seq_file to userspace. Future code will be taking advantage of
the page table dumping code but will not need the seq_file. Make
the seq_file optional for these cases.

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/dump.c