diff options
author | 2018-06-25 04:19:48 -0600 | |
---|---|---|
committer | 2018-08-20 14:46:18 -0400 | |
commit | f76c318c779a40cb23ff70d9c5d6e1771987ebba (patch) | |
tree | f111faccc36e0d3d0efe63f551bfbde2df0237d0 /drivers/xen | |
parent | x86/Xen: mark xen_setup_gdt() __init (diff) | |
download | linux-f76c318c779a40cb23ff70d9c5d6e1771987ebba.tar.gz linux-f76c318c779a40cb23ff70d9c5d6e1771987ebba.tar.bz2 linux-f76c318c779a40cb23ff70d9c5d6e1771987ebba.zip |
xen/mcelog: eliminate redundant setting of interface version
This already gets done in HYPERVISOR_mca().
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/mcelog.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/xen/mcelog.c b/drivers/xen/mcelog.c index 262835ace35d..b8bf61abb65b 100644 --- a/drivers/xen/mcelog.c +++ b/drivers/xen/mcelog.c @@ -288,7 +288,6 @@ static int mc_queue_handle(uint32_t flags) int ret = 0; mc_op.cmd = XEN_MC_fetch; - mc_op.interface_version = XEN_MCA_INTERFACE_VERSION; set_xen_guest_handle(mc_op.u.mc_fetch.data, &g_mi); do { mc_op.u.mc_fetch.flags = flags; @@ -358,7 +357,6 @@ static int bind_virq_for_mce(void) /* Fetch physical CPU Numbers */ mc_op.cmd = XEN_MC_physcpuinfo; - mc_op.interface_version = XEN_MCA_INTERFACE_VERSION; set_xen_guest_handle(mc_op.u.mc_physcpuinfo.info, g_physinfo); ret = HYPERVISOR_mca(&mc_op); if (ret) { |