kbuild: create a way to create preprocessor constants from C expressions
[firefly-linux-kernel-4.4.55.git] / kernel / fork.c
index cb46befdd3a060bd3b6d96fc64acaadbf74c4e39..c674aa8d3c31e4af9a59abac87b2425faab135ff 100644 (file)
@@ -521,7 +521,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.
  */
-static struct mm_struct *dup_mm(struct task_struct *tsk)
+struct mm_struct *dup_mm(struct task_struct *tsk)
 {
        struct mm_struct *mm, *oldmm = current->mm;
        int err;