patch-2.3.12 linux/arch/arm/kernel/setup.c

Next file: linux/arch/arm/kernel/signal.c
Previous file: linux/arch/arm/kernel/init_task.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.11/linux/arch/arm/kernel/setup.c linux/arch/arm/kernel/setup.c
@@ -297,10 +297,10 @@
 
 	setup_processor();
 
-	init_task.mm->start_code = TASK_SIZE;
-	init_task.mm->end_code	 = TASK_SIZE + (unsigned long) &_etext;
-	init_task.mm->end_data	 = TASK_SIZE + (unsigned long) &_edata;
-	init_task.mm->brk	 = TASK_SIZE + (unsigned long) &_end;
+	init_mm.start_code = TASK_SIZE;
+	init_mm.end_code	 = TASK_SIZE + (unsigned long) &_etext;
+	init_mm.end_data	 = TASK_SIZE + (unsigned long) &_edata;
+	init_mm.brk	 = TASK_SIZE + (unsigned long) &_end;
 
 	/*
 	 * Add your machine dependencies here

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)