diff options
author | 2015-08-01 16:08:05 -0700 | |
---|---|---|
committer | 2015-08-04 22:25:28 -0700 | |
commit | 06210b42f33ea1c29a90f4db2d88be91c511154b (patch) | |
tree | 141512180ae9c5fc476a02b53e54320bab72d56f /drivers/hv/hv.c | |
parent | mei: remove check on pm_runtime_active in __mei_cl_disconnect (diff) | |
download | linux-06210b42f33ea1c29a90f4db2d88be91c511154b.tar.gz linux-06210b42f33ea1c29a90f4db2d88be91c511154b.tar.bz2 linux-06210b42f33ea1c29a90f4db2d88be91c511154b.zip |
Drivers: hv: vmbus: remove hv_synic_free_cpu() call from hv_synic_cleanup()
We already have hv_synic_free() which frees all per-cpu pages for all
CPUs, let's remove the hv_synic_free_cpu() call from hv_synic_cleanup()
so it will be possible to do separate cleanup (writing to MSRs) and final
freeing. This is going to be used to assist kexec.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv.c')
-rw-r--r-- | drivers/hv/hv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index d3943bceecc3..5b870424b502 100644 --- a/drivers/hv/hv.c +++ b/drivers/hv/hv.c @@ -530,6 +530,4 @@ void hv_synic_cleanup(void *arg) rdmsrl(HV_X64_MSR_SCONTROL, sctrl.as_uint64); sctrl.enable = 0; wrmsrl(HV_X64_MSR_SCONTROL, sctrl.as_uint64); - - hv_synic_free_cpu(cpu); } |