Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0033bd1 authored by Dexuan Cui's avatar Dexuan Cui Committed by Sasha Levin (Microsoft)
Browse files

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: 37cdd991 ("vmbus: put related per-cpu variable together")
Cc: stable@vger.kernel.org
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: default avatarDexuan Cui <decui@microsoft.com>
Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
Signed-off-by: default avatarSasha Levin (Microsoft) <sashal@kernel.org>
parent 14948e39
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);