patch-1.3.44 linux/arch/sparc/boot/bare.S

Next file: linux/arch/sparc/boot/bare.h
Previous file: linux/arch/sparc/boot/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.43/linux/arch/sparc/boot/bare.S linux/arch/sparc/boot/bare.S
@@ -1,4 +1,5 @@
-/* base.S:      Ugly low-level boot program entry code.  The job of this
+/* $Id: bare.S,v 1.2 1995/11/25 00:57:39 davem Exp $
+ * base.S:      Ugly low-level boot program entry code.  The job of this
  *              module is to parse the boot flags, try to mount the remote
  *              root filesystem and load the kernel into virtual memory.
  *
@@ -6,6 +7,7 @@
  */
 
 #include "bare.h"
+#include <asm/ptrace.h>
 
 	.data
 	.globl C_LABEL(romvec)
@@ -49,7 +51,7 @@
 start_of_execution:
 	sethi	%hi(C_LABEL(first_adr_in_text)), %o1		! This is our top
 	or	%o1, %lo(C_LABEL(first_adr_in_text)), %o1	! of stack too.
-	sub	%o1, C_STACK, %o1
+	sub	%o1, STACKFRAME_SZ, %o1
 	add	%o1, 0x7, %o1
 	andn	%o1, 0x7, %o1
 	save	%o1, 0x0, %sp					! save is an add

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this