]> git.neil.brown.name Git - history.git/commitdiff
PPC32: add extra do_fork argument to call in __cpu_up
authorPaul Mackerras <paulus@samba.org>
Fri, 6 Dec 2002 03:18:09 +0000 (14:18 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 6 Dec 2002 03:18:09 +0000 (14:18 +1100)
arch/ppc/kernel/smp.c

index 482b12b7db7b97fdcb535a1473d104647c57c32b..6a10bcbe7579f6e1180990c8059e620a5c8aafa4 100644 (file)
@@ -389,7 +389,7 @@ int __cpu_up(unsigned int cpu)
        /* create a process for the processor */
        /* only regs.msr is actually used, and 0 is OK for it */
        memset(&regs, 0, sizeof(struct pt_regs));
-       p = do_fork(CLONE_VM|CLONE_IDLETASK, 0, &regs, 0, NULL);
+       p = do_fork(CLONE_VM|CLONE_IDLETASK, 0, &regs, 0, NULL, NULL);
        if (IS_ERR(p))
                panic("failed fork for CPU %u: %li", cpu, PTR_ERR(p));