]> git.hungrycats.org Git - linux/commitdiff
[PATCH] m68knommu add missing do_fork arg
authorGreg Ungerer <gerg@snapgear.com>
Sun, 15 Dec 2002 08:59:35 +0000 (00:59 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 15 Dec 2002 08:59:35 +0000 (00:59 -0800)
This adds the missing argument to do_fork() calls in m68knommu arch
process.c

arch/m68knommu/kernel/process.c

index 43a7fada772bd11afa852f01a6d29bd5eef6e5fc..c5e499c9e9141d1c194b6fed7c4187f922657dd2 100644 (file)
@@ -168,7 +168,7 @@ asmlinkage int m68k_fork(struct pt_regs *regs)
 asmlinkage int m68k_vfork(struct pt_regs *regs)
 {
        struct task_struct *p;
-       p = do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, rdusp(), regs, 0, NULL);
+       p = do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, rdusp(), regs, 0, NULL, NULL);
        return IS_ERR(p) ? PTR_ERR(p) : p->pid;
 }
 
@@ -183,7 +183,7 @@ asmlinkage int m68k_clone(struct pt_regs *regs)
        newsp = regs->d2;
        if (!newsp)
                newsp = rdusp();
-        p = do_fork(clone_flags & ~CLONE_IDLETASK, newsp, regs, 0, NULL);
+        p = do_fork(clone_flags & ~CLONE_IDLETASK, newsp, regs, 0, NULL, NULL);
         return IS_ERR(p) ? PTR_ERR(p) : p->pid;
 }