xtime.tv_sec -= time_offset; 
xtime.tv_sec -= timezone_offset; 
void __init time_init(void){	time_t sec, old_sec;	unsigned old_stamp, stamp, elapsed;        if (ppc_md.time_init != NULL)                time_offset = ppc_md.time_init();	if (__USE_RTC()) {		/* 601 processor: dec counts down by 128 every 128ns */		tb_ticks_per_jiffy = DECREMENTER_COUNT_601;		/* mulhwu_scale_factor(1000000000, 1000000) is 0x418937 */		tb_to_us = 0x418937;        } else {                ppc_md.calibrate_decr();		tb_to_ns_scale = mulhwu(tb_to_us, 1000 << 10);	}	/* Now that the decrementer is calibrated, it can be used in case the	 * clock is stuck, but the fact that we have to handle the 601	 * makes things more complex. Repeatedly read the RTC until the	 * next second boundary to try to achieve some precision.  If there	 * is no RTC, we still need to set tb_last_stamp and	 * last_jiffy_stamp(cpu 0) to the current stamp.	 */	stamp = get_native_tbl();	if (ppc_md.get_rtc_time) {		sec = ppc_md.get_rtc_time();		elapsed = 0;		do {			old_stamp = stamp;			old_sec = sec;			stamp = get_native_tbl();			if (__USE_RTC() && stamp < old_stamp)				old_stamp -= 1000000000;			elapsed += stamp - old_stamp;			sec = ppc_md.get_rtc_time();		} while ( sec == old_sec && elapsed < 2*HZ*tb_ticks_per_jiffy);		if (sec==old_sec)			printk("Warning: real time clock seems stuck!\n");		xtime.tv_sec = sec;		xtime.tv_nsec = 0;		/* No update now, we just read the time from the RTC ! */		last_rtc_update = xtime.tv_sec;	}	last_jiffy_stamp(0) = tb_last_stamp = stamp;	/* Not exact, but the timer interrupt takes care of this */	set_dec(tb_ticks_per_jiffy);	/* If platform provided a timezone (pmac), we correct the time */        if (time_offset) {		sys_tz.tz_minuteswest = -time_offset / 60;		sys_tz.tz_dsttime = 0;		xtime.tv_sec -= time_offset;        }        set_normalized_timespec(&wall_to_monotonic,                                -xtime.tv_sec, -xtime.tv_nsec);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f326d22b8cc5bfebfa5b3f6a4066dc737def2234/time.c/buggy/arch/ppc/kernel/time.c