All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix marge error due to conflict in arch/mips/kernel/head.S
@ 2007-07-22 15:07 Atsushi Nemoto
  2007-07-24 14:55 ` Atsushi Nemoto
  2007-07-24 15:03 ` Ralf Baechle
  0 siblings, 2 replies; 4+ messages in thread
From: Atsushi Nemoto @ 2007-07-22 15:07 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

__INIT directive just before kernel_entry was dropped for most
(i.e. BOOT_RAW=n) platforms by merge accident (perhaps).  This patch
fixes it and get rid of this warning:

WARNING: vmlinux.o(.text+0x478): Section mismatch: reference to .init.text:start_kernel (between '_stext' and 'run_init_process')

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S
index f78538e..c15bbc4 100644
--- a/arch/mips/kernel/head.S
+++ b/arch/mips/kernel/head.S
@@ -141,7 +141,7 @@
 EXPORT(stext)					# used for profiling
 EXPORT(_stext)
 
-#ifdef CONFIG_BOOT_RAW
+#ifndef 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix marge error due to conflict in arch/mips/kernel/head.S
  2007-07-22 15:07 [PATCH] Fix marge error due to conflict in arch/mips/kernel/head.S Atsushi Nemoto
@ 2007-07-24 14:55 ` Atsushi Nemoto
  2007-07-24 15:03 ` Ralf Baechle
  1 sibling, 0 replies; 4+ messages in thread
From: Atsushi Nemoto @ 2007-07-24 14:55 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

On Mon, 23 Jul 2007 00:07:34 +0900 (JST), Atsushi Nemoto <anemo@mba.ocn.ne.jp> wrote:
> __INIT directive just before kernel_entry was dropped for most
> (i.e. BOOT_RAW=n) platforms by merge accident (perhaps).  This patch
> fixes it and get rid of this warning:
> 
> WARNING: vmlinux.o(.text+0x478): Section mismatch: reference to .init.text:start_kernel (between '_stext' and 'run_init_process')
> 
> Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>

Also, I suppose this fix is needed for MIPSsim and PMC MSP.

---
Atsushi Nemoto

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix marge error due to conflict in arch/mips/kernel/head.S
  2007-07-22 15:07 [PATCH] Fix marge error due to conflict in arch/mips/kernel/head.S Atsushi Nemoto
  2007-07-24 14:55 ` Atsushi Nemoto
@ 2007-07-24 15:03 ` Ralf Baechle
  2007-07-24 15:11   ` Atsushi Nemoto
  1 sibling, 1 reply; 4+ messages in thread
From: Ralf Baechle @ 2007-07-24 15:03 UTC (permalink / raw)
  To: Atsushi Nemoto; +Cc: linux-mips

On Mon, Jul 23, 2007 at 12:07:34AM +0900, Atsushi Nemoto wrote:

> __INIT directive just before kernel_entry was dropped for most
> (i.e. BOOT_RAW=n) platforms by merge accident (perhaps).  This patch
> fixes it and get rid of this warning:

Whatever the reason - applied.

Thanks,

   Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix marge error due to conflict in arch/mips/kernel/head.S
  2007-07-24 15:03 ` Ralf Baechle
@ 2007-07-24 15:11   ` Atsushi Nemoto
  0 siblings, 0 replies; 4+ messages in thread
From: Atsushi Nemoto @ 2007-07-24 15:11 UTC (permalink / raw)
  To: ralf; +Cc: linux-mips

On Tue, 24 Jul 2007 16:03:32 +0100, Ralf Baechle <ralf@linux-mips.org> wrote:
> > __INIT directive just before kernel_entry was dropped for most
> > (i.e. BOOT_RAW=n) platforms by merge accident (perhaps).  This patch
> > fixes it and get rid of this warning:
> 
> Whatever the reason - applied.

Thanks.  And now MIPSsim and PMC MSP would see the warning :)
I'm looking for a workaround ...

---
Atsushi Nemoto

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-24 15:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-22 15:07 [PATCH] Fix marge error due to conflict in arch/mips/kernel/head.S Atsushi Nemoto
2007-07-24 14:55 ` Atsushi Nemoto
2007-07-24 15:03 ` Ralf Baechle
2007-07-24 15:11   ` Atsushi Nemoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.