{
int retval, oldprio, oldpolicy = -1, on_rq, running;
unsigned long flags;
{
int retval, oldprio, oldpolicy = -1, on_rq, running;
unsigned long flags;
* NOTE that the task may be already dead.
*/
int sched_setscheduler(struct task_struct *p, int policy,
* NOTE that the task may be already dead.
*/
int sched_setscheduler(struct task_struct *p, int policy,
{
return __sched_setscheduler(p, policy, param, true);
}
{
return __sched_setscheduler(p, policy, param, true);
}
* but our caller might not have that capability.
*/
int sched_setscheduler_nocheck(struct task_struct *p, int policy,
* but our caller might not have that capability.
*/
int sched_setscheduler_nocheck(struct task_struct *p, int policy,
{
return __sched_setscheduler(p, policy, param, false);
}
{
return __sched_setscheduler(p, policy, param, false);
}