Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

i386 bigsmp: section mismatch fixes

WARNING: arch/i386/mach-generic/built-in.o(.data+0xc4): Section mismatch: reference to .init.text: (between 'apic_bigsmp' and 'cpu.4905')

This appears to be resolvable by removing all the __init and __initdata
qualifiers from arch/i386/mach-generic/bigsmp.c

Signed-off-by: William Irwin <bill.irwin@oracle.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

William Lee Irwin III and committed by
Linus Torvalds
af669c97 d3c8bdfb

+3 -3
+3 -3
arch/i386/mach-generic/bigsmp.c
··· 21 21 22 22 static int dmi_bigsmp; /* can be set by dmi scanners */ 23 23 24 - static __init int hp_ht_bigsmp(struct dmi_system_id *d) 24 + static int hp_ht_bigsmp(struct dmi_system_id *d) 25 25 { 26 26 #ifdef CONFIG_X86_GENERICARCH 27 27 printk(KERN_NOTICE "%s detected: force use of apic=bigsmp\n", d->ident); ··· 31 31 } 32 32 33 33 34 - static struct dmi_system_id __initdata bigsmp_dmi_table[] = { 34 + static struct dmi_system_id bigsmp_dmi_table[] = { 35 35 { hp_ht_bigsmp, "HP ProLiant DL760 G2", { 36 36 DMI_MATCH(DMI_BIOS_VENDOR, "HP"), 37 37 DMI_MATCH(DMI_BIOS_VERSION, "P44-"), ··· 45 45 }; 46 46 47 47 48 - static int __init probe_bigsmp(void) 48 + static int probe_bigsmp(void) 49 49 { 50 50 if (def_to_bigsmp) 51 51 dmi_bigsmp = 1;