patch-2.1.37 linux/arch/alpha/kernel/head.S

Next file: linux/arch/alpha/kernel/process.c
Previous file: linux/arch/alpha/kernel/entry.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/arch/alpha/kernel/head.S linux/arch/alpha/kernel/head.S
@@ -23,9 +23,11 @@
 __start:
 	br	$27,1f
 1:	ldgp	$29,0($27)
-	/* We need to get current loaded up with our first task.  */
-	ldq	$8,current_set
-	/* And then we can start the kernel.  */
+	/* We need to get current loaded up with our first task...  */
+	lda	$8,init_task_union
+	/* ... and find our stack ... */
+	lda	$30,0x4000($8)
+	/* ... and then we can start the kernel.  */
 	jsr	$26,start_kernel
 	halt
 	.end __start
@@ -61,22 +63,6 @@
 	call_pal PAL_rdusp
 	ret	($26)
 	.end rdusp
-
-	.align 3
-	.globl	tbi
-	.ent	tbi
-tbi:
-	call_pal PAL_tbi
-	ret	($26)
-	.end tbi
-
-	.align 3
-	.globl	imb
-	.ent	imb
-imb:
-	call_pal PAL_imb
-	ret	($26)
-	.end imb
 
 	.align 3
 	.globl	rdmces

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov