]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb876ec4acbd658014d4035aa3d22da6e4bc62227
tree8afc8973622985092d2a0913a6ba53028d625b39
parent3ffaa32d3698573f45200162db112181c0c39eb5
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