hangcheck watchdog triggers if clock=pit. Missing code in monotonic_clock_pit()?

From: Denis Vlasenko
Date: Sat Apr 10 2004 - 08:37:30 EST


linux-2.6.5/arch/i386/kernel/time.c:
====================================
/* monotonic_clock(): returns # of nanoseconds passed since time_init()
* Note: This function is required to return accurate
* time even in the absence of multiple timer ticks.
*/
unsigned long long monotonic_clock(void)
{
return cur_timer->monotonic_clock();
}

linux-2.6.5/arch/i386/kernel/timers/timer_pit.c:
================================================
static unsigned long long monotonic_clock_pit(void)
{
return 0;
}
--
vda

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/