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

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Wed, 17 Aug 2005 11:33:46 +0100
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/08/17 11:33:40

Modified files:
        arch/mips/kernel: head.S 

Log message:
        Rearrange the Qemu bits a little.  Another not merged yet target
        unfortunately will need the same hack.  There are definately arguments
        for having a proper ELF loader ...

diff -urN linux/arch/mips/kernel/head.S linux/arch/mips/kernel/head.S
--- linux/arch/mips/kernel/head.S       2005/07/14 12:05:05     1.70
+++ linux/arch/mips/kernel/head.S       2005/08/17 10:33:40     1.71
@@ -116,9 +116,15 @@
 EXPORT(stext)                                  # used for profiling
 EXPORT(_stext)
 
-#ifndef CONFIG_QEMU
-       __INIT
+#ifdef CONFIG_QEMU
+       /*
+        * Give us a fighting chance of running if execution beings at the
+        * kernel load address.  This is needed because this platform does
+        * not have a ELF loader yet.
+        */
+       j       kernel_entry
 #endif
+       __INIT
 
 NESTED(kernel_entry, 16, sp)                   # kernel entry point
 

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