lkml.org 
[lkml]   [2004]   [Apr]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromDenis Vlasenko <>
Subjecthangcheck watchdog triggers if clock=pit. Missing code in monotonic_clock_pit()?
DateSat, 10 Apr 2004 16:35:37 +0300
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [from the cache]
©2003-2008