batch_task() in sched.h is now unused - remove it.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
return rt_prio(p->prio);
}
return rt_prio(p->prio);
}
-static inline int batch_task(struct task_struct *p)
-{
- return p->policy == SCHED_BATCH;
-}
-
static inline pid_t process_group(struct task_struct *tsk)
{
return tsk->signal->pgrp;
static inline pid_t process_group(struct task_struct *tsk)
{
return tsk->signal->pgrp;