aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorDaeSeok Youn <daeseok.youn@gmail.com>2014-01-23 18:55:46 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-23 19:37:02 -0500
commitff252c1fc537b0c9e40f62da0a9d11bf0737b7db (patch)
tree04748be19b9fda59912d3511f8ff8a711dd8209f /include/linux/sched.h
parentabaf3787ac26ba33e2f75e76b1174c32254c25b0 (diff)
kernel/fork.c: make dup_mm() static
dup_mm() is used only in kernel/fork.c Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 33e4e9e1f621..66a17ad55bcb 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2295,8 +2295,6 @@ extern struct mm_struct *get_task_mm(struct task_struct *task);
2295extern struct mm_struct *mm_access(struct task_struct *task, unsigned int mode); 2295extern struct mm_struct *mm_access(struct task_struct *task, unsigned int mode);
2296/* Remove the current tasks stale references to the old mm_struct */ 2296/* Remove the current tasks stale references to the old mm_struct */
2297extern void mm_release(struct task_struct *, struct mm_struct *); 2297extern void mm_release(struct task_struct *, struct mm_struct *);
2298/* Allocate a new mm structure and copy contents from tsk->mm */
2299extern struct mm_struct *dup_mm(struct task_struct *tsk);
2300 2298
2301extern int copy_thread(unsigned long, unsigned long, unsigned long, 2299extern int copy_thread(unsigned long, unsigned long, unsigned long,
2302 struct task_struct *); 2300 struct task_struct *);