clocksource, acpi_pm.c: fix check for monotonicity
authorDominik Brodowski <linux@dominikbrodowski.net>
Thu, 11 Sep 2008 09:09:49 +0000 (11:09 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 11 Sep 2008 09:14:29 +0000 (11:14 +0200)
commitf1926ce63b996b42772b39e4b47bb4ef4ba748b4
tree3721b28841d6eccbf62ac910a5479133d7e445db
parent6ef62164e794c480259ac158aa6c8c7b85746545
clocksource, acpi_pm.c: fix check for monotonicity

Actually check the monotonicity of the ACPI PMTMR ten times, only delay for
0.9 miliseconds at most, and bail out early if some problem is determined.

Reported-by: Jochen Voß <jochen.voss@googlemail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/clocksource/acpi_pm.c