if (ticks > 0) { current->state = TASK_INTERRUPTIBLE; schedule_timeout(1 + ticks); } else 
if (ticks > 0) schedule_timeout_interruptible(1 + ticks); else 
static void turnaround_delay(const struct stir_cb *stir, long us){	long ticks;	struct timeval now;	if (us <= 0)		return;	do_gettimeofday(&now);	if (now.tv_sec - stir->rx_time.tv_sec > 0)		us -= USEC_PER_SEC;	us -= now.tv_usec - stir->rx_time.tv_usec;	if (us < 10)		return;	ticks = us / (1000000 / HZ);	if (ticks > 0) {		current->state = TASK_INTERRUPTIBLE;		schedule_timeout(1 + ticks);	} else		udelay(us);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/3173c8907ffb2c64456142da3df2bd0500bd59e0/stir4200.c/clean/drivers/net/irda/stir4200.c