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>
Mon, 8 Feb 2016 05:34:12 +0000 (21:34 -0800)
commit3ccb4fd8f492f99aece21acc1bd6142275f26236
tree156dac93792a4bccf2549d7f2b72f3e8c1364e22
parent415719160de3fae3bb9cbc617664649919cd00d0
Drivers: hv: vmbus: don't manipulate with clocksources on crash

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>
drivers/hv/hv.c