x86/mm/pageattr: Always dump the right page table in an oops
authorMatt Fleming <matt.fleming@intel.com>
Fri, 6 Dec 2013 21:13:04 +0000 (21:13 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 4 Mar 2014 21:23:36 +0000 (21:23 +0000)
commit4621561c1360f2d5ea745baf722d8fafec63230d
treee8dab070cd83c3064cd91db25017386fea3c8877
parentcecadfeaf96494cfd28f2500432ba6b2fd8356ce
x86/mm/pageattr: Always dump the right page table in an oops

Now that we have EFI-specific page tables we need to lookup the pgd when
dumping those page tables, rather than assuming that swapper_pgdir is
the current pgdir.

Remove the double underscore prefix, which is usually reserved for
static functions.

Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/include/asm/pgtable_types.h
arch/x86/mm/fault.c
arch/x86/mm/pageattr.c