watchdog: introduce the hardlockup_detector_disable() function
authorUlrich Obergfell <uobergfe@redhat.com>
Tue, 14 Apr 2015 22:44:19 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Apr 2015 23:48:59 +0000 (16:48 -0700)
commit692297d8f96887f836d9049a653ed05a71cf48fb
tree1c19271d875a54dfbdb74bc35d4f386dbc20dc63
parentb2f57c3a0df9d168220be8848a303a32ef4d2e7d
watchdog: introduce the hardlockup_detector_disable() function

Have kvm_guest_init() use hardlockup_detector_disable() instead of
watchdog_enable_hardlockup_detector(false).

Remove the watchdog_hardlockup_detector_is_enabled() and the
watchdog_enable_hardlockup_detector() function which are no longer needed.

Signed-off-by: Ulrich Obergfell <uobergfe@redhat.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/kvm.c
include/linux/nmi.h
kernel/watchdog.c