diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2016-01-22 18:31:53 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-01-27 12:38:05 +0100 |
commit | bbf66d897adf2bb0c310db96c97e8db6369f39e1 (patch) | |
tree | 7528b65e67f4eaafffc1a87b3a0b9c5b38281ad5 /drivers/clocksource | |
parent | a6e707ddbdf150bd1c2a5c0eccc55abdc62a0039 (diff) | |
download | op-kernel-dev-bbf66d897adf2bb0c310db96c97e8db6369f39e1.zip op-kernel-dev-bbf66d897adf2bb0c310db96c97e8db6369f39e1.tar.gz |
clocksource: Allow unregistering the watchdog
Hyper-V vmbus module registers TSC page clocksource when loaded. This is
the clocksource with the highest rating and thus it becomes the watchdog
making unloading of the vmbus module impossible.
Separate clocksource_select_watchdog() from clocksource_enqueue_watchdog()
and use it on clocksource register/rating change/unregister.
After all, lobotomized monkeys may need some love too.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Dexuan Cui <decui@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Link: http://lkml.kernel.org/r/1453483913-25672-1-git-send-email-vkuznets@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions