patch-2.1.27 linux/kernel/sched.c

Next file: linux/kernel/signal.c
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.26/linux/kernel/sched.c linux/kernel/sched.c
@@ -99,7 +99,12 @@
 
 unsigned long volatile jiffies=0;
 
-struct task_struct *current_set[NR_CPUS];
+/*
+ *	Init task must be ok at boot for the ix86 as we will check its signals
+ *	via the SMP irq return path.
+ */
+ 
+struct task_struct *current_set[NR_CPUS] = {&init_task, };
 struct task_struct *last_task_used_math = NULL;
 
 struct task_struct * task[NR_TASKS] = {&init_task, };

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]