Messages in this thread Patch in this message | | | Subject | Re: 2.6.12-rc5-git3 fails compile -- acpi_boot_table_init | From | Alexander Nyberg <> | Date | Sat, 28 May 2005 15:37:19 +0200 |
| |
lör 2005-05-28 klockan 08:06 -0400 skrev Pete Clements: > Fyi: > > > LD .tmp_vmlinux1 > arch/i386/kernel/built-in.o: In function `setup_arch': > arch/i386/kernel/built-in.o(.init.text+0x14ec): undefined reference to `acpi_boot_table_init' > arch/i386/kernel/built-in.o(.init.text+0x14f1): undefined reference to `acpi_boot_init' > make: *** [.tmp_vmlinux1] Error 1 >
This is a neverending story
linux/acpi.h contains empty declarations for acpi_boot_init() & acpi_boot_table_init() but they are nested inside #ifdef CONFIG_ACPI.
So we'll have to #ifdef in arch/i386/kernel/setup.c: setup_arch()
Signed-off-by: Alexander Nyberg <alexn@telia.com>
Index: meep/arch/i386/kernel/setup.c =================================================================== --- meep.orig/arch/i386/kernel/setup.c 2005-05-28 14:39:06.000000000 +0200 +++ meep/arch/i386/kernel/setup.c 2005-05-28 14:59:34.000000000 +0200 @@ -1502,11 +1502,13 @@ if (efi_enabled) efi_map_memmap(); +#ifdef CONFIG_ACPI_BOOT /* * Parse the ACPI tables for possible boot-time SMP configuration. */ acpi_boot_table_init(); acpi_boot_init(); +#endif #ifdef CONFIG_X86_LOCAL_APIC if (smp_found_config)
- 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/
| |