aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-07-14 17:50:49 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-14 17:50:49 -0400
commit948769a5ba304ed3329a2f42ee3561f04a0b5692 (patch)
tree7430c5fcae383d90c7c0101364440ac24e5cbc18 /include/linux/sched.h
parente18425a0abc8eafa8e98ecffac517bb0c0904f4b (diff)
parent773dc8eacaedb2e8c8d0defb5de2c66ea7dc4a08 (diff)
Merge branch 'sched/new-API-sched_setscheduler' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'sched/new-API-sched_setscheduler' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: sched: add new API sched_setscheduler_nocheck: add a flag to control access checks
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 5d1af10b90c3..21349173d148 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1658,6 +1658,8 @@ extern int can_nice(const struct task_struct *p, const int nice);
1658extern int task_curr(const struct task_struct *p); 1658extern int task_curr(const struct task_struct *p);
1659extern int idle_cpu(int cpu); 1659extern int idle_cpu(int cpu);
1660extern int sched_setscheduler(struct task_struct *, int, struct sched_param *); 1660extern int sched_setscheduler(struct task_struct *, int, struct sched_param *);
1661extern int sched_setscheduler_nocheck(struct task_struct *, int,
1662 struct sched_param *);
1661extern struct task_struct *idle_task(int cpu); 1663extern struct task_struct *idle_task(int cpu);
1662extern struct task_struct *curr_task(int cpu); 1664extern struct task_struct *curr_task(int cpu);
1663extern void set_curr_task(int cpu, struct task_struct *p); 1665extern void set_curr_task(int cpu, struct task_struct *p);