ARM: 8736/1: mm: dump: make the page table dumping seq_file
authorJinbum Park <jinb.park7@gmail.com>
Tue, 12 Dec 2017 00:42:25 +0000 (01:42 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sun, 21 Jan 2018 15:32:18 +0000 (15:32 +0000)
commitd02ca6d76ba7f089706db555ee19f3775bc42740
tree0359430c002f8be8034bb97c46d891831d7dae6d
parent4fb69cc4566f175839615cc4ef8828ae4d5341d9
ARM: 8736/1: mm: dump: make the page table dumping seq_file

This patch makes the page table dumping seq_file optional.
It makes the page table dumping code usable for other cases.

This patch refers below commit of arm64.
(ae5d1cf358a5
("arm64: dump: Make the page table dumping seq_file optional"))

Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Laura Abbott <labbott@redhat.com>
Reviewed-by: Laura Abbott <labbott@redhat.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jinbum Park <jinb.park7@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/dump.c