]> git.baikalelectronics.ru Git - kernel.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>
Fri, 23 Oct 2015 13:20:28 +0000 (14:20 +0100)
commitc0a5e6f70ff49dbbac4324bab44099e660a6262c
tree75ed19641906ab1774f4c4a180caaf6f703c1db5
parent2bace02f8a8784854978034a00f8ca77610d5c08
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