aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 54953d8a6f17..56e4e07e45f7 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -933,13 +933,13 @@ static inline void rt_mutex_init_task(struct task_struct *p)
933 * parts of the process environment (as per the clone 933 * parts of the process environment (as per the clone
934 * flags). The actual kick-off is left to the caller. 934 * flags). The actual kick-off is left to the caller.
935 */ 935 */
936static task_t *copy_process(unsigned long clone_flags, 936static struct task_struct *copy_process(unsigned long clone_flags,
937 unsigned long stack_start, 937 unsigned long stack_start,
938 struct pt_regs *regs, 938 struct pt_regs *regs,
939 unsigned long stack_size, 939 unsigned long stack_size,
940 int __user *parent_tidptr, 940 int __user *parent_tidptr,
941 int __user *child_tidptr, 941 int __user *child_tidptr,
942 int pid) 942 int pid)
943{ 943{
944 int retval; 944 int retval;
945 struct task_struct *p = NULL; 945 struct task_struct *p = NULL;
@@ -1294,9 +1294,9 @@ struct pt_regs * __devinit __attribute__((weak)) idle_regs(struct pt_regs *regs)
1294 return regs; 1294 return regs;
1295} 1295}
1296 1296
1297task_t * __devinit fork_idle(int cpu) 1297struct task_struct * __devinit fork_idle(int cpu)
1298{ 1298{
1299 task_t *task; 1299 struct task_struct *task;
1300 struct pt_regs regs; 1300 struct pt_regs regs;
1301 1301
1302 task = copy_process(CLONE_VM, 0, idle_regs(&regs), 0, NULL, NULL, 0); 1302 task = copy_process(CLONE_VM, 0, idle_regs(&regs), 0, NULL, NULL, 0);