unsigned long max_wait_tb; 
u64 max_wait_tb; 
unsigned long __init rtas_get_boot_time(void){	int ret[8];	int error, wait_time;	unsigned long max_wait_tb;	max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT;	do {		error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret);		if (error == RTAS_CLOCK_BUSY || rtas_is_extended_busy(error)) {			wait_time = rtas_extended_busy_delay_time(error);			/* This is boot time so we spin. */			udelay(wait_time*1000);			error = RTAS_CLOCK_BUSY;		}	} while (error == RTAS_CLOCK_BUSY && (get_tb() < max_wait_tb));	if (error != 0 && printk_ratelimit()) {		printk(KERN_WARNING "error: reading the clock failed (%d)\n",			error);		return 0;	}	return mktime(ret[0], ret[1], ret[2], ret[3], ret[4], ret[5]);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/49e16b7becd6320bde51aa238c11815708f836d9/rtas-rtc.c/clean/arch/powerpc/kernel/rtas-rtc.c