]> git.karo-electronics.de Git - linux-beck.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)
commitae5d1cf358a5bf0020cd25618fca10b5c5c4630e
treefb32b5d391944a59fd6583996b1a6a72452f4d59
parent4ddb9bf83349b4f4f8178e58c3654ac7ec7edbc6
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