* New section mismatch warning on latest linux-2.6 git tree
@ 2006-09-24 8:57 Ismail Donmez
0 siblings, 0 replies; 6+ messages in thread
From: Ismail Donmez @ 2006-09-24 8:57 UTC (permalink / raw)
To: LKML
Hi,
This seems to be pretty new :
WARNING: arch/i386/kernel/cpu/cpufreq/speedstep-centrino.o - Section mismatch:
reference to .init.text: from .data between 'sw_any_bug_dmi_table' (at offset
0x320) and 'centrino_attr'
Using Linus' latest git tree.
Regards,
ismail
--
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
-- Benjamin Franklin
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: New section mismatch warning on latest linux-2.6 git tree
@ 2006-09-25 17:51 Pallipadi, Venkatesh
2006-09-25 18:23 ` Dave Jones
0 siblings, 1 reply; 6+ messages in thread
From: Pallipadi, Venkatesh @ 2006-09-25 17:51 UTC (permalink / raw)
To: Ismail Donmez, LKML; +Cc: Andrew Morton
>-----Original Message-----
>From: linux-kernel-owner@vger.kernel.org
>[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Ismail Donmez
>Sent: Sunday, September 24, 2006 1:58 AM
>To: LKML
>Subject: New section mismatch warning on latest linux-2.6 git tree
>
>Hi,
>
>This seems to be pretty new :
>
>WARNING: arch/i386/kernel/cpu/cpufreq/speedstep-centrino.o -
>Section mismatch:
>reference to .init.text: from .data between
>'sw_any_bug_dmi_table' (at offset
>0x320) and 'centrino_attr'
>
>Using Linus' latest git tree.
>
>Regards,
>ismail
Andrew,
Can you please push the patch from Jeremy here:
http://www.ussg.iu.edu/hypermail/linux/kernel/0609.1/1389.html
Thanks,
Venki
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: New section mismatch warning on latest linux-2.6 git tree
2006-09-25 17:51 Pallipadi, Venkatesh
@ 2006-09-25 18:23 ` Dave Jones
2006-09-25 18:23 ` Venkatesh Pallipadi
0 siblings, 1 reply; 6+ messages in thread
From: Dave Jones @ 2006-09-25 18:23 UTC (permalink / raw)
To: Pallipadi, Venkatesh; +Cc: Ismail Donmez, LKML, Andrew Morton
On Mon, Sep 25, 2006 at 10:51:54AM -0700, Pallipadi, Venkatesh wrote:
> >This seems to be pretty new :
> >
> >WARNING: arch/i386/kernel/cpu/cpufreq/speedstep-centrino.o -
> >Section mismatch:
> >reference to .init.text: from .data between
> >'sw_any_bug_dmi_table' (at offset
> >0x320) and 'centrino_attr'
> >
> >Using Linus' latest git tree.
> >
> >Regards,
> >ismail
>
> Andrew,
>
> Can you please push the patch from Jeremy here:
>
> http://www.ussg.iu.edu/hypermail/linux/kernel/0609.1/1389.html
That's the patch that has caused this situation.
Andrew had it in -mm until recently, when I merged it into cpufreq.git.
And now, Linus has pulled it into mainline.
Dave
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: New section mismatch warning on latest linux-2.6 git tree
2006-09-25 18:23 ` Dave Jones
@ 2006-09-25 18:23 ` Venkatesh Pallipadi
2006-09-25 20:29 ` Alan Cox
0 siblings, 1 reply; 6+ messages in thread
From: Venkatesh Pallipadi @ 2006-09-25 18:23 UTC (permalink / raw)
To: Dave Jones, Pallipadi, Venkatesh, Ismail Donmez, LKML,
Andrew Morton
On Mon, Sep 25, 2006 at 02:23:47PM -0400, Dave Jones wrote:
>
> That's the patch that has caused this situation.
> Andrew had it in -mm until recently, when I merged it into cpufreq.git.
> And now, Linus has pulled it into mainline.
>
> Dave
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
Patch below resolves this section mismatch issue.
Please apply.
Thanks,
Venki
Make the sections proper and get rid of section mismatch warnings.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Index: linux-2.6.18-rc4/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
===================================================================
--- linux-2.6.18-rc4.orig/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ linux-2.6.18-rc4/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -569,13 +569,13 @@ static int acpi_cpufreq_early_init(void)
*/
static int bios_with_sw_any_bug;
-static int __init sw_any_bug_found(struct dmi_system_id *d)
+static int sw_any_bug_found(struct dmi_system_id *d)
{
bios_with_sw_any_bug = 1;
return 0;
}
-static struct dmi_system_id __initdata sw_any_bug_dmi_table[] = {
+static struct dmi_system_id sw_any_bug_dmi_table[] = {
{
.callback = sw_any_bug_found,
.ident = "Supermicro Server X6DLP",
Index: linux-2.6.18-rc4/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
===================================================================
--- linux-2.6.18-rc4.orig/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
+++ linux-2.6.18-rc4/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
@@ -386,7 +386,7 @@ static int centrino_cpu_early_init_acpi(
* than OS intended it to run at. Detect it and handle it cleanly.
*/
static int bios_with_sw_any_bug;
-static int __init sw_any_bug_found(struct dmi_system_id *d)
+static int sw_any_bug_found(struct dmi_system_id *d)
{
bios_with_sw_any_bug = 1;
return 0;
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: New section mismatch warning on latest linux-2.6 git tree
2006-09-25 18:23 ` Venkatesh Pallipadi
@ 2006-09-25 20:29 ` Alan Cox
0 siblings, 0 replies; 6+ messages in thread
From: Alan Cox @ 2006-09-25 20:29 UTC (permalink / raw)
To: Venkatesh Pallipadi; +Cc: Dave Jones, Ismail Donmez, LKML, Andrew Morton
Ar Llu, 2006-09-25 am 11:23 -0700, ysgrifennodd Venkatesh Pallipadi:
> Patch below resolves this section mismatch issue.
>
> Please apply.
>
> Thanks,
> Venki
I was about to send the same
> Make the sections proper and get rid of section mismatch warnings.
>
> Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Acked-by: Alan Cox <alan@redhat.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: New section mismatch warning on latest linux-2.6 git tree
@ 2006-09-25 21:28 art
0 siblings, 0 replies; 6+ messages in thread
From: art @ 2006-09-25 21:28 UTC (permalink / raw)
To: linux-kernel; +Cc: alan
on 2.6.18-git4 SMP x86_64
[xxx@localhost linux-2.6.18]$ make -j 4
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
MODPOST vmlinux
Building modules, stage 2.
Kernel: arch/x86_64/boot/bzImage is ready (#4)
MODPOST 1150 modules
WARNING: arch/x86_64/kernel/cpufreq/acpi-cpufreq.o - Section mismatch:
reference to .init.data: from .text between 'acpi_cpufreq_cpu_init'
(at offset 0x3b9) and 'acpi_cpufreq_target'
WARNING: drivers/atm/he.o - Section mismatch: reference to .init.text:
from .text between 'he_start' (at offset 0x211e) and 'he_service_tbrq'
xboom
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-09-25 21:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-24 8:57 New section mismatch warning on latest linux-2.6 git tree Ismail Donmez
-- strict thread matches above, loose matches on Subject: below --
2006-09-25 17:51 Pallipadi, Venkatesh
2006-09-25 18:23 ` Dave Jones
2006-09-25 18:23 ` Venkatesh Pallipadi
2006-09-25 20:29 ` Alan Cox
2006-09-25 21:28 art
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox