diff options
author | DaeSeok Youn <daeseok.youn@gmail.com> | 2014-01-24 00:55:46 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-24 01:37:02 +0100 |
commit | ff252c1fc537b0c9e40f62da0a9d11bf0737b7db (patch) | |
tree | 04748be19b9fda59912d3511f8ff8a711dd8209f /kernel | |
parent | fs/proc: don't use module_init for non-modular core code (diff) | |
download | linux-ff252c1fc537b0c9e40f62da0a9d11bf0737b7db.tar.xz linux-ff252c1fc537b0c9e40f62da0a9d11bf0737b7db.zip |
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 'kernel')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 2f11bbe376b0..5615ead014e3 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -800,7 +800,7 @@ void mm_release(struct task_struct *tsk, struct mm_struct *mm) * Allocate a new mm structure and copy contents from the * mm structure of the passed in task structure. */ -struct mm_struct *dup_mm(struct task_struct *tsk) +static struct mm_struct *dup_mm(struct task_struct *tsk) { struct mm_struct *mm, *oldmm = current->mm; int err; |