]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[PATCH] clocksource: Fix thinko in watchdog selection
authorThomas Gleixner <tglx@linutronix.de>
Sun, 25 Mar 2007 12:42:51 +0000 (14:42 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 25 Mar 2007 21:57:34 +0000 (14:57 -0700)
commit948ac6d71cf868b431adb3139d8dfbd9c4e4a6ca
tree485171e5970cfc75614730aaa4201db430c3030a
parent9501b6cf5541f0d576d566a463f1e7d3eaaab4eb
[PATCH] clocksource: Fix thinko in watchdog selection

The watchdog implementation excludes low res / non continuous
clocksources from being selected as a watchdog reference
unintentionally.

Allow using jiffies/PIT as a watchdog reference as long as no better
clocksource is available. This is necessary to detect TSC breakage on
systems, which have no pmtimer/hpet.

The main goal of the initial patch (preventing to switch to highres/nohz
when no reliable fallback clocksource is available) is still guaranteed
by the checks in clocksource_watchdog().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/time/clocksource.c