diff options
author | DaeSeok Youn <daeseok.youn@gmail.com> | 2014-01-23 15:55:46 -0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2014-11-24 16:25:48 +0800 |
commit | 1ed786134c4bfd7c0d8773310990f6876cdd77cf (patch) | |
tree | 85547d187a10e89d4fd629fe8e3402835e7e13d8 /include | |
parent | e4556a0934672b78f4189009402726e223017cf5 (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>
(cherry picked from commit ff252c1fc537b0c9e40f62da0a9d11bf0737b7db)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 197376e97f2..2dedc2d35e5 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2184,8 +2184,6 @@ extern struct mm_struct *get_task_mm(struct task_struct *task); extern struct mm_struct *mm_access(struct task_struct *task, unsigned int mode); /* Remove the current tasks stale references to the old mm_struct */ extern void mm_release(struct task_struct *, struct mm_struct *); -/* Allocate a new mm structure and copy contents from tsk->mm */ -extern struct mm_struct *dup_mm(struct task_struct *tsk); extern int copy_thread(unsigned long, unsigned long, unsigned long, struct task_struct *); |