summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/enlighten_pv.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-12-01 10:34:04 +0100
committerIngo Molnar <mingo@kernel.org>2017-12-17 13:50:01 +0100
commite5d77a73f364ba0e3e3d6c72c334324bb12e04fc (patch)
treea3feefe8605f022dd974fbaddb10c7b992c58408 /arch/x86/xen/enlighten_pv.c
parent2ec077c186a02c0aae8fc213a7b1d4c35f9626ed (diff)
parent03b2a320b19f1424e9ac9c21696be9c60b6d0d93 (diff)
downloadlinux-e5d77a73f364ba0e3e3d6c72c334324bb12e04fc.tar.bz2
Merge commit 'upstream-x86-virt' into WIP.x86/mm
Merge a minimal set of virt cleanups, for a base for the MM isolation patches. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/xen/enlighten_pv.c')
-rw-r--r--arch/x86/xen/enlighten_pv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c
index e55d276afc70..fbd054d6ac97 100644
--- a/arch/x86/xen/enlighten_pv.c
+++ b/arch/x86/xen/enlighten_pv.c
@@ -1459,9 +1459,9 @@ static uint32_t __init xen_platform_pv(void)
return 0;
}
-const struct hypervisor_x86 x86_hyper_xen_pv = {
+const __initconst struct hypervisor_x86 x86_hyper_xen_pv = {
.name = "Xen PV",
.detect = xen_platform_pv,
- .pin_vcpu = xen_pin_vcpu,
+ .type = X86_HYPER_XEN_PV,
+ .runtime.pin_vcpu = xen_pin_vcpu,
};
-EXPORT_SYMBOL(x86_hyper_xen_pv);