]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: fix section mismatch warning - apic_physflat
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 12 Oct 2008 09:44:09 +0000 (11:44 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Oct 2008 15:36:27 +0000 (17:36 +0200)
Impact: cleanup only, no functionality changed

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

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

index a10ed42a35e07a8dd8d27556a4d3dfe916c54d42..c0262791bda40e5cd10960fb496360ca8298b879 100644 (file)
@@ -170,7 +170,7 @@ struct genapic apic_flat =  {
  * We cannot use logical delivery in this case because the mask
  * overflows, so use physical mode.
  */
-static int __init physflat_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
+static int physflat_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
 {
 #ifdef CONFIG_ACPI
        /*