From: Rakib Mullick Date: Sun, 12 Jul 2009 11:07:19 +0000 (+0600) Subject: x86, apic: Fix false positive section mismatch in numaq_32.c X-Git-Tag: v2.6.31-rc4~52^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7473727be884293c8171775a148e1d174d1606e6;p=pandora-kernel.git x86, apic: Fix false positive section mismatch in numaq_32.c The variable apic_numaq placed in noninit section references the function wakeup_secondary_cpu_via_nmi(), which is in __cpuinit section. Thus causes a section mismatch warning. To avoid such mismatch we mark apic_numaq as __refdata. We were warned by the following warning: WARNING: arch/x86/kernel/built-in.o(.data+0x932c): Section mismatch in reference from the variable apic_numaq to the function .cpuinit.text:wakeup_secondary_cpu_via_nmi() Signed-off-by: Rakib Mullick LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed