summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaeSeok Youn <daeseok.youn@gmail.com>2014-01-10 12:42:03 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2014-01-10 12:42:03 +1100
commite6f88a5ae78387169cb6c4869f69138c3f8bd303 (patch)
tree5a3b23ff0f1a1a80c45c057ea3bf326d343a8503 /include
parentabfc1fb2bd587f8571228f4bfd5e3b07fe88f9e1 (diff)
kernel/fork.c: make dup_mm() static
dup_mm() function 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>
Diffstat (limited to 'include')
-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 4b6c89635802..48bd0303dd91 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2177,8 +2177,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 *);