x86/mm: build map_domain_gfn() just once
authorJan Beulich <jbeulich@suse.com>
Tue, 27 Oct 2015 10:46:05 +0000 (11:46 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 27 Oct 2015 10:46:05 +0000 (11:46 +0100)
commit9a6787cc3809c1e48e6fce22cacdd0def0cc2b92
tree10e94483cf556a962b3aa9819607f51eaea4598e
parent1a771b7a0d5cbcd386744bd4bdd8e66dcfc096c8
x86/mm: build map_domain_gfn() just once

It doesn't depend on GUEST_PAGING_LEVELS. Moving the function to p2m.c
at once allows a bogus #define/#include pair to be removed from
hap/nested_ept.c.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm/guest_walk.c
xen/arch/x86/mm/hap/nested_ept.c
xen/arch/x86/mm/p2m.c
xen/include/asm-x86/guest_pt.h
xen/include/asm-x86/p2m.h