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

Next file: linux/arch/alpha/lib/copy_user.S
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.25/linux/arch/alpha/kernel/head.S linux/arch/alpha/kernel/head.S
@@ -23,8 +23,11 @@
 __start:
 	br	$27,1f
 1:	ldgp	$29,0($27)
-	lda	$27,start_kernel
-	jsr	$26,($27),start_kernel
+	/* We need to get current loaded up with our first task.  */
+	lda	$8,init_task
+	stq	$8,current_set
+	/* And then we can start the kernel.  */
+	jsr	$26,start_kernel
 	halt
 	.end __start
 

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