summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2002-12-06 14:18:09 +1100
committerPaul Mackerras <paulus@samba.org>2002-12-06 14:18:09 +1100
commit797cca8a958d244e41ae3bc65b952cf84d46c97d (patch)
tree76e9c6ab428f703cf0df2d5491b8022cee769d86
parent3f6f586de53eb3fc741261307fa1bd82344d819c (diff)
PPC32: add extra do_fork argument to call in __cpu_up
-rw-r--r--arch/ppc/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/kernel/smp.c b/arch/ppc/kernel/smp.c
index 482b12b7db7b..6a10bcbe7579 100644
--- a/arch/ppc/kernel/smp.c
+++ b/arch/ppc/kernel/smp.c
@@ -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));