Subject: + kernel-forkc-make-dup_mm-static.patch added to -mm tree To: daeseok.youn@xxxxxxx,daeseok.youn@xxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 27 Nov 2013 15:29:53 -0800 The patch titled Subject: kernel/fork.c: make dup_mm() static has been added to the -mm tree. Its filename is kernel-forkc-make-dup_mm-static.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kernel-forkc-make-dup_mm-static.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kernel-forkc-make-dup_mm-static.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Daeseok Youn <daeseok.youn@xxxxxxx> Subject: kernel/fork.c: make dup_mm() static dup_mm() function is used only in kernel/fork.c Signed-off-by: Daeseok Youn <daeseok.youn@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/sched.h | 2 -- kernel/fork.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff -puN include/linux/sched.h~kernel-forkc-make-dup_mm-static include/linux/sched.h --- a/include/linux/sched.h~kernel-forkc-make-dup_mm-static +++ a/include/linux/sched.h @@ -2177,8 +2177,6 @@ extern struct mm_struct *get_task_mm(str 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 *); diff -puN kernel/fork.c~kernel-forkc-make-dup_mm-static kernel/fork.c --- a/kernel/fork.c~kernel-forkc-make-dup_mm-static +++ a/kernel/fork.c @@ -799,7 +799,7 @@ void mm_release(struct task_struct *tsk, * 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; _ Patches currently in -mm which might be from daeseok.youn@xxxxxxx are kernel-forkc-make-dup_mm-static.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html