/* Calculate the expected normal priority: i.e. priority without taking RT-inheritance into account. Might be boosted by interactivity modifiers. Changes upon fork, setprio syscalls, and whenever the interactivity estimator recalculates.  */
static int normal_prio(struct task_struct *p)
/* Calculate the expected normal priority: i.e. priority without taking RT-inheritance into account. Might be boosted by interactivity modifiers. Changes upon fork, setprio syscalls, and whenever the interactivity estimator recalculates.  */
static int normal_prio(struct task_struct *p)
{
	int prio;
	if (task_has_rt_policy(p))
		prio = MAX_RT_PRIO-1 - p->rt_priority;
	else
		prio = __normal_prio(p);
	return prio;
}