1 From a0033bd1eae4650b69be07c17cb87393da584563 Mon Sep 17 00:00:00 2001
2 From: Dexuan Cui <decui@microsoft.com>
3 Date: Fri, 12 Apr 2019 23:34:45 +0000
4 Subject: Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
6 From: Dexuan Cui <decui@microsoft.com>
8 commit a0033bd1eae4650b69be07c17cb87393da584563 upstream.
10 With CONFIG_DEBUG_PREEMPT=y, the put_cpu_ptr() triggers an underflow
11 warning in preempt_count_sub().
13 Fixes: 37cdd991fac8 ("vmbus: put related per-cpu variable together")
14 Cc: stable@vger.kernel.org
15 Cc: Stephen Hemminger <sthemmin@microsoft.com>
16 Signed-off-by: Dexuan Cui <decui@microsoft.com>
17 Reviewed-by: Michael Kelley <mikelley@microsoft.com>
18 Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>
19 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
23 1 file changed, 1 deletion(-)
27 @@ -402,7 +402,6 @@ int hv_synic_cleanup(unsigned int cpu)
29 clockevents_unbind_device(hv_cpu->clk_evt, cpu);
30 hv_ce_shutdown(hv_cpu->clk_evt);
31 - put_cpu_ptr(hv_cpu);
34 hv_get_synint_state(VMBUS_MESSAGE_SINT, shared_sint.as_uint64);