p->prio = recalc_task_prio(p, now); 
if (!rt_task(p)) p->prio = recalc_task_prio(p, now); 
static void activate_task(task_t *p, runqueue_t *rq, int local){	unsigned long long now;	now = sched_clock();#ifdef CONFIG_SMP	if (!local) {		/* Compensate for drifting sched_clock */		runqueue_t *this_rq = this_rq();		now = (now - this_rq->timestamp_last_tick)			+ rq->timestamp_last_tick;	}#endif	p->prio = recalc_task_prio(p, now);	/*	 * This checks to make sure it's not an uninterruptible task	 * that is now waking up.	 */	if (!p->activated) {		/*		 * Tasks which were woken up by interrupts (ie. hw events)		 * are most likely of interactive nature. So we give them		 * the credit of extending their sleep time to the period		 * of time they spend on the runqueue, waiting for execution		 * on a CPU, first time around:		 */		if (in_interrupt())			p->activated = 2;		else {			/*			 * Normal first-time wakeups get a credit too for			 * on-runqueue time, but it will be weighted down:			 */			p->activated = 1;		}	}	p->timestamp = now;	__activate_task(p, rq);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a47ab9371e664952b1104a70ec8e9b74db3f7a5f/sched.c/buggy/kernel/sched.c