xen: split up xen_hvm_init_shared_info()
authorJuergen Gross <jgross@suse.com>
Fri, 28 Jul 2017 10:23:13 +0000 (12:23 +0200)
committerJuergen Gross <jgross@suse.com>
Fri, 11 Aug 2017 13:50:24 +0000 (15:50 +0200)
commit10231f69eb039550864ff3eb395da0c63c03ed5f
tree2f954a9b0b60f8078fbb2eaab4a5880225316faf
parentc138d81163d82db044dcaf1141395713f03bf0bf
xen: split up xen_hvm_init_shared_info()

Instead of calling xen_hvm_init_shared_info() on boot and resume split
it up into a boot time function searching for the pfn to use and a
mapping function doing the hypervisor mapping call.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/enlighten_hvm.c