diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-11-23 10:36:12 +0000 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-12-21 14:40:55 +0000 |
commit | cfafae940381207d48b11a73a211142dba5947d3 (patch) | |
tree | ced7aa811e7013fcbc08fa9b2880a1e204425402 /drivers/xen/xen-acpi-cpuhotplug.c | |
parent | 34e38523d586ae1e838241d44c8a2e9a1c9e0b43 (diff) | |
download | linux-stable-cfafae940381207d48b11a73a211142dba5947d3.tar.gz linux-stable-cfafae940381207d48b11a73a211142dba5947d3.tar.bz2 linux-stable-cfafae940381207d48b11a73a211142dba5947d3.zip |
xen: rename dom0_op to platform_op
The dom0_op hypercall has been renamed to platform_op since Xen 3.2,
which is ancient, and modern upstream Linux kernels cannot run as dom0
and it anymore anyway.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/xen/xen-acpi-cpuhotplug.c')
-rw-r--r-- | drivers/xen/xen-acpi-cpuhotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xen-acpi-cpuhotplug.c b/drivers/xen/xen-acpi-cpuhotplug.c index f4a369429553..fdc9e67b842d 100644 --- a/drivers/xen/xen-acpi-cpuhotplug.c +++ b/drivers/xen/xen-acpi-cpuhotplug.c @@ -206,7 +206,7 @@ static int xen_hotadd_cpu(struct acpi_processor *pr) op.u.cpu_add.acpi_id = pr->acpi_id; op.u.cpu_add.pxm = pxm; - cpu_id = HYPERVISOR_dom0_op(&op); + cpu_id = HYPERVISOR_platform_op(&op); if (cpu_id < 0) pr_err(PREFIX "Failed to hotadd CPU for acpi_id %d\n", pr->acpi_id); |