summaryrefslogtreecommitdiff
path: root/include/linux/sched
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-05 16:35:41 +0300
committerIngo Molnar <mingo@kernel.org>2017-03-03 03:45:24 +0300
commit42011db0ed5a9c92b1281e1300eb3d026f3764a8 (patch)
tree8d1c39bb424b074352e3dea70411057ab6671ac7 /include/linux/sched
parent9049863a32fad5d7158318e45f0a41a0f2192c0c (diff)
downloadlinux-42011db0ed5a9c92b1281e1300eb3d026f3764a8.tar.xz
sched/headers: Move exit_files() and exit_itimers() from <linux/sched.h> to <linux/sched/task.h>
These two functions are task management related, not core scheduler APIs. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched')
-rw-r--r--include/linux/sched/task.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched/task.h b/include/linux/sched/task.h
index 2be9fde588a7..a33a8121da9a 100644
--- a/include/linux/sched/task.h
+++ b/include/linux/sched/task.h
@@ -67,6 +67,9 @@ static inline void exit_thread(struct task_struct *tsk)
#endif
extern void do_group_exit(int);
+extern void exit_files(struct task_struct *);
+extern void exit_itimers(struct signal_struct *);
+
extern long _do_fork(unsigned long, unsigned long, unsigned long, int __user *, int __user *, unsigned long);
extern long do_fork(unsigned long, unsigned long, unsigned long, int __user *, int __user *);
struct task_struct *fork_idle(int);