Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=396a2ae08e5080b140330645743ab2567f6bc426
Commit:     396a2ae08e5080b140330645743ab2567f6bc426
Parent:     e6d5a11dad44b8ae18ca8fc4ecb72ccccfa0a2d2
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 20:05:18 2007 +0100
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 18:28:46 2007 +0100

    [MIPS] Fix modpost warning in raw binary builds.
    
      MODPOST vmlinux.o
    WARNING: vmlinux.o(.text+0x478): Section mismatch: reference to 
.init.text:start_kernel (between '_stext' and 'run_init_process')
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/kernel/head.S |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S
index e46782b..bf164a5 100644
--- a/arch/mips/kernel/head.S
+++ b/arch/mips/kernel/head.S
@@ -140,7 +140,7 @@
 
 EXPORT(_stext)
 
-#ifndef CONFIG_BOOT_RAW
+#ifdef CONFIG_BOOT_RAW
        /*
         * Give us a fighting chance of running if execution beings at the
         * kernel load address.  This is needed because this platform does
@@ -149,6 +149,8 @@ EXPORT(_stext)
        __INIT
 #endif
 
+       __INIT_REFOK
+
 NESTED(kernel_entry, 16, sp)                   # kernel entry point
 
        kernel_entry_setup                      # cpu specific setup
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to