aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDexuan Cui <[email protected]>2019-04-12 23:34:45 +0000
committerSasha Levin (Microsoft) <[email protected]>2019-04-13 09:36:35 -0400
commita0033bd1eae4650b69be07c17cb87393da584563 (patch)
tree69819e112f9c7b50ff853280995eaba33e144718
parent14948e39445db674516ccabdf01090586ecfdc9b (diff)
Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
With CONFIG_DEBUG_PREEMPT=y, the put_cpu_ptr() triggers an underflow warning in preempt_count_sub(). Fixes: 37cdd991fac8 ("vmbus: put related per-cpu variable together") Cc: [email protected] Cc: Stephen Hemminger <[email protected]> Signed-off-by: Dexuan Cui <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Signed-off-by: Sasha Levin (Microsoft) <[email protected]>
-rw-r--r--drivers/hv/hv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c
index 632d25674e7f..45653029ee18 100644
--- a/drivers/hv/hv.c
+++ b/drivers/hv/hv.c
@@ -408,7 +408,6 @@ int hv_synic_cleanup(unsigned int cpu)
clockevents_unbind_device(hv_cpu->clk_evt, cpu);
hv_ce_shutdown(hv_cpu->clk_evt);
- put_cpu_ptr(hv_cpu);
}
hv_get_synint_state(VMBUS_MESSAGE_SINT, shared_sint.as_uint64);