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)
commit426e34cc4f6094cefe4f3175764cdf583128e7cd
treee8dab070cd83c3064cd91db25017386fea3c8877
parent993c30a04e205fb239c0875b25b43ddef0499845
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