--- 2.0.38-gtod/arch/i386/kernel/time.c.~1~ Thu Aug 12 03:40:04 1999 +++ 2.0.38-gtod/arch/i386/kernel/time.c Sun Jul 2 00:02:57 2000 @@ -62,6 +62,8 @@ /* The "clocks per usec" value is calculated once each jiffy */ tmp = jiffies; + if (!tmp) + return 0; quotient = cached_quotient; low_timer = last_timer_cc.low; missing_time = 0; @@ -390,6 +392,10 @@ :"=a" (last_timer_cc.low), "=d" (last_timer_cc.high)); timer_interrupt(irq, NULL, regs); + if (!jiffies) + __asm__(".byte 0x0f,0x31" + :"=a" (init_timer_cc.low), + "=d" (init_timer_cc.high)); } #endif