Drivers: hv: vmbus: don't manipulate with clocksources on crash
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 28 Jan 2016 06:29:36 +0000 (22:29 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 06:27:46 +0000 (08:27 +0200)
commitbee629f1b07375d467a679797acbf8d8ab3db61f
tree1b9f5c2ab4c9df8496ce4fc177d652355fb74abf
parentd6d72d7cbe464e3776370b65f518866953cb4e12
Drivers: hv: vmbus: don't manipulate with clocksources on crash

[ Upstream commit 3ccb4fd8f492f99aece21acc1bd6142275f26236 ]

clocksource_change_rating() involves mutex usage and can't be called
in interrupt context. It also makes sense to avoid doing redundant work
on crash.

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv.c