/* Calculate the current priority, i.e. the priority taken into account by the scheduler. This value might be boosted by RT tasks, or might be boosted by interactivity modifiers. Will be RT if the task got RT-boosted. If not then it returns p->normal_prio.  */
static int effective_prio(struct task_struct *p)
/* Calculate the current priority, i.e. the priority taken into account by the scheduler. This value might be boosted by RT tasks, or might be boosted by interactivity modifiers. Will be RT if the task got RT-boosted. If not then it returns p->normal_prio.  */
static int effective_prio(struct task_struct *p)
{
	p->normal_prio = normal_prio(p);
	if (!rt_prio(p->prio))
		return p->normal_prio;
	return p->prio;
}