maltalinux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: malta

To: maltalinux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: malta
From: chris@linux-mips.org
Date: Thu, 28 Jul 2005 18:25:42 +0100
Reply-to: linux-mips@linux-mips.org
Sender: maltalinux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    malta
Changes by:     chris@ftp.linux-mips.org        05/07/28 18:25:41

Modified files:
        linux/arch/mips/kernel: Tag: MaltaRef_2_6 head.S 

Log message:
        * arch/mips/kernel/head.S: Put a jump to kernel_start near the
        beginning of the code. This allows to to  start execution at the
        load address (usually).

diff -urN malta/linux/arch/mips/kernel/head.S 
malta/linux/arch/mips/kernel/head.S
--- malta/linux/arch/mips/kernel/head.S 2005/06/21 13:24:02     1.59.1000.2
+++ malta/linux/arch/mips/kernel/head.S 2005/07/28 17:25:41     1.59.1000.3
@@ -130,7 +130,13 @@
 
 EXPORT(stext)                                  # used for profiling
 EXPORT(_stext)
-
+       
+       /*
+        * Give us a fighting chance of running if execution beings
+        * at the kernel load address
+        */
+       j       kernel_entry
+       
        __INIT
 
 NESTED(kernel_entry, 16, sp)                   # kernel entry point

<Prev in Thread] Current Thread [Next in Thread>