if ((time_status & STA_UNSYNC) != 0) 
if (!ntp_synced()) 
static void sync_cmos_clock(unsigned long dummy){	struct timeval now, next;	int fail = 1;	/*	 * If we have an externally synchronized Linux clock, then update	 * CMOS clock accordingly every ~11 minutes. Set_rtc_mmss() has to be	 * called as close as possible to 500 ms before the new second starts.	 * This code is run on a timer.  If the clock is set, that timer	 * may not expire at the correct time.  Thus, we adjust...	 */	if ((time_status & STA_UNSYNC) != 0)		/*		 * Not synced, exit, do not restart a timer (if one is		 * running, let it run out).		 */		return;	do_gettimeofday(&now);	if (now.tv_usec >= USEC_AFTER - ((unsigned) TICK_SIZE) / 2 &&	    now.tv_usec <= USEC_BEFORE + ((unsigned) TICK_SIZE) / 2)		fail = set_rtc_mmss(now.tv_sec);	next.tv_usec = USEC_AFTER - now.tv_usec;	if (next.tv_usec <= 0)		next.tv_usec += USEC_PER_SEC;	if (!fail)		next.tv_sec = 659;	else		next.tv_sec = 0;	if (next.tv_usec >= USEC_PER_SEC) {		next.tv_sec++;		next.tv_usec -= USEC_PER_SEC;	}	mod_timer(&sync_cmos_timer, jiffies + timeval_to_jiffies(&next));}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b149ee2233edf08fb59b11e879a2c5941929bcb8/time.c/clean/arch/i386/kernel/time.c