x86: Introduce function to get pmd entry pointer
authorJuergen Gross <jgross@suse.com>
Fri, 28 Nov 2014 10:53:56 +0000 (11:53 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 4 Dec 2014 14:09:04 +0000 (14:09 +0000)
commit792230c3a66b3d17d6dcca712866d24f2283d4a6
tree8afc8973622985092d2a0913a6ba53028d625b39
parent5b8e7d80542487ff1bf17b4cf2922a01dee13d3a
x86: Introduce function to get pmd entry pointer

Introduces lookup_pmd_address() to get the address of the pmd entry
related to a virtual address in the current address space. This
function is needed for support of a virtual mapped sparse p2m list
in xen pv domains, as we need the address of the pmd entry, not the
one of the pte in that case.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/include/asm/pgtable_types.h
arch/x86/mm/pageattr.c