From: Borislav Petkov Date: Sat, 18 Jan 2014 11:48:14 +0000 (+0100) Subject: x86, ptdump: Add the functionality to dump an arbitrary pagetable X-Git-Tag: v3.15-rc1~173^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef6bea6ddf0e76077d0798e57b374015b23a837e;p=pandora-kernel.git x86, ptdump: Add the functionality to dump an arbitrary pagetable With reusing the ->trampoline_pgd page table for mapping EFI regions in order to use them after having switched to EFI virtual mode, it is very useful to be able to dump aforementioned page table in dmesg. This adds that functionality through the walk_pgd_level() interface which can be called from somewhere else. The original functionality of dumping to debugfs remains untouched. Cc: Arjan van de Ven Signed-off-by: Borislav Petkov Tested-by: Toshi Kani Signed-off-by: Matt Fleming --- Reading git-diff-tree failed