]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: fix section mismatch warning - apic_flat
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 12 Oct 2008 09:44:08 +0000 (11:44 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Oct 2008 15:36:26 +0000 (17:36 +0200)
commit983f91ff949d9008eb7fb73ba4e35f9decc182b3
tree98032bfb96c1d78f80dde49a027661ee8efb2e58
parent2cb0ebeeb664e6eefe06951709949203e04f7c7b
x86: fix section mismatch warning - apic_flat

Impact: cleanup only, no functionality changed

WARNING: vmlinux.o(.data+0xbe08): Section mismatch in reference from the variable apic_flat to the function .init.text:flat_acpi_madt_oem_check()
The variable apic_flat references
the function __init flat_acpi_madt_oem_check()

This is harmless, because the .acpi_madt_oem_check is only called
during init time. But we keep the function pointer around in a .data
function pointer template, so it's better we do not keep that stale
- so mark this function non-__init.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/genapic_flat_64.c