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
- Lines: 14
- Date:
Fri Feb 21 14:58:36 1997
- Orig file:
v2.1.26/linux/kernel/sched.c
- Orig date:
Fri Feb 7 05:54:55 1997
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, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov