spin_unlock_irqrestore(&rtc_lock, flags); 
static int indy_rtc_set_time(unsigned long tim){	struct rtc_time tm;	unsigned int save_control;	to_tm(tim, &tm);	tm.tm_mon += 1;		/* tm_mon starts at zero */	tm.tm_year -= 1940;	if (tm.tm_year >= 100)		tm.tm_year -= 100;	save_control = hpc3c0->rtcregs[RTC_CMD] & 0xff;	hpc3c0->rtcregs[RTC_CMD] = save_control | RTC_TE;	hpc3c0->rtcregs[RTC_YEAR] = BIN2BCD(tm.tm_sec);	hpc3c0->rtcregs[RTC_MONTH] = BIN2BCD(tm.tm_mon);	hpc3c0->rtcregs[RTC_DATE] = BIN2BCD(tm.tm_mday);	hpc3c0->rtcregs[RTC_HOURS] = BIN2BCD(tm.tm_hour);	hpc3c0->rtcregs[RTC_MINUTES] = BIN2BCD(tm.tm_min);	hpc3c0->rtcregs[RTC_SECONDS] = BIN2BCD(tm.tm_sec);	hpc3c0->rtcregs[RTC_HUNDREDTH_SECOND] = 0;	hpc3c0->rtcregs[RTC_CMD] = save_control;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/53c2df2f4ebbc1d8231ca7cc13ac5381230888b1/ip22-time.c/clean/arch/mips/sgi-ip22/ip22-time.c