diff options
author | Felix Blyakher <felixb@sgi.com> | 2009-03-06 17:06:44 -0600 |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-03-06 17:06:44 -0600 |
commit | 47d1ff6e1a24c0126cd0243b1d6d0a3ffbd7a026 (patch) | |
tree | b53cd3df68e3a199f6764c619c1a5092d27547e2 /include/linux/sched.h | |
parent | b79631330a653f568a2ac4eb4a32474c80e3fe77 (diff) | |
parent | 559595a985e106d2fa9f0c79b7f5805453fed593 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 8981e52c714f..8c216e057c94 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2291,9 +2291,13 @@ extern long sched_group_rt_runtime(struct task_group *tg); extern int sched_group_set_rt_period(struct task_group *tg, long rt_period_us); extern long sched_group_rt_period(struct task_group *tg); +extern int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk); #endif #endif +extern int task_can_switch_user(struct user_struct *up, + struct task_struct *tsk); + #ifdef CONFIG_TASK_XACCT static inline void add_rchar(struct task_struct *tsk, ssize_t amt) { |