]> 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)
commit7e7efe90b8dff149b64366a20bf0c1ae8e819521
tree8afc8973622985092d2a0913a6ba53028d625b39
parent1df0dbd620de448e5a5824725eb51f034be82d0f
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