2009-01-02 13:16:19

by Ingo Brückl

[permalink] [raw]
Subject: [PATCH] section mismatch

The following patch has already been suggested by someone named
[email protected] but hasn't been applied yet.

It is beyond my scope so could please somebody confirm whether this is the
right thing to do?


fix section mismatch warning at compile time in vmlinux.o(.cpuinit.data+0x0)

Signed-off-by: Ingo Brueckl <[email protected]>

--- linux-2.6.28/arch/x86/kernel/head_32.S.orig 2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28/arch/x86/kernel/head_32.S 2009-01-02 13:22:45.000000000 +0100
@@ -596,6 +596,7 @@ ignore_int:

.section .cpuinit.data,"wa"
.align 4
+__REFDATA
ENTRY(initial_code)
.long i386_start_kernel


2009-01-03 20:49:04

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [PATCH] section mismatch

On Sat, Jan 03, 2009 at 12:16:00PM +0100, Ingo Brueckl wrote:
> I wrote in http://lkml.org/lkml/2009/1/2/130 on Fri, 02 Jan 2009:
>
> > The following patch has already been suggested by someone named
> > [email protected] but hasn't been applied yet.
>
> It was Lee Leahu (http://lkml.org/lkml/2008/10/15/385).
>
> > fix section mismatch warning at compile time in
> > vmlinux.o(.cpuinit.data+0x0)
> > It is beyond my scope so could please somebody confirm whether this is the
> > right thing to do?
>
> Nobody?

I expect the x86 guys will review it.
I do not plan to do so.

Sam