]> xenbits.xensource.com Git - people/julieng/linux-arm.git/commit
x86/xen: export xen_alloc_p2m_entry()
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 22 Jul 2015 13:48:09 +0000 (14:48 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Tue, 29 Sep 2015 16:00:04 +0000 (17:00 +0100)
commit7ec96ee1ce730236f5456bec1897c42f492800bb
tree09dadc7686fca32146052036fb588ead54c344f4
parentfa99fe71897afba4db0504df7b79c6d83b420fb8
x86/xen: export xen_alloc_p2m_entry()

Rename alloc_p2m() to xen_alloc_p2m_entry() and export it.

This is useful for ensuring that a p2m entry is allocated (i.e., not a
shared missing or identity entry) so that subsequent set_phys_to_machine()
calls will require no further allocations.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
---
v3:
- Make xen_alloc_p2m_entry() a nop on auto-xlate guests.
arch/x86/include/asm/xen/page.h
arch/x86/xen/p2m.c