x86: convert set_gpfn_from_mfn() to a function
authorJan Beulich <jbeulich@suse.com>
Mon, 24 Aug 2020 13:38:03 +0000 (15:38 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 24 Aug 2020 13:38:03 +0000 (15:38 +0200)
commitc297c9453375892284810f0dc46d408865f9998b
tree039220f503a44c064d079c45d47e9810601fd8ed
parente8f9d219657d28d3403660f70156c2a20cbbb4bb
x86: convert set_gpfn_from_mfn() to a function

It is already a little too heavy for a macro, and more logic is about to
get added to it.

This also allows reducing the scope of compat_machine_to_phys_mapping.

Requested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_64/mm.c
xen/include/asm-x86/mm.h