patch-2.1.101 linux/arch/mips/kernel/head.S
Next file: linux/arch/mips/kernel/init_task.c
Previous file: linux/arch/mips/kernel/gdb-stub.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Fri May 8 00:13:23 1998
- Orig file:
v2.1.100/linux/arch/mips/kernel/head.S
- Orig date:
Wed Dec 10 10:31:09 1997
diff -u --recursive --new-file v2.1.100/linux/arch/mips/kernel/head.S linux/arch/mips/kernel/head.S
@@ -8,7 +8,7 @@
*
* Head.S contains the MIPS exception handler and startup code.
*
- * $Id: head.S,v 1.10 1997/11/13 12:55:29 ralf Exp $
+ * $Id: head.S,v 1.9 1998/05/01 01:33:53 ralf Exp $
*/
#include <linux/config.h>
#include <linux/tasks.h>
@@ -397,6 +397,11 @@
nop
#endif
+#ifdef CONFIG_COBALT_MICRO_SERVER
+ jal SetUpBootInfo
+ nop
+#endif
+
/* Get the very one tags we need early in the boot process */
nop
jal bi_EarlySnarf
@@ -442,9 +447,10 @@
nop
/*
- * Stack for kernel and init
+ * Stack for kernel and init, current variable
*/
-9: la t0, init_task_union+KERNEL_STACK_SIZE-32
+9: la $28, init_task_union
+ addiu t0, $28, KERNEL_STACK_SIZE-32
sw t0, kernelsp
subu sp, t0, 4*SZREG
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov