2.6.10-rc2-mm4 - non-ACPI compile broken
Hello,
I've tried to compile 2.6.10-rc2-mm4 without ACPI on an i386-arch. It shows:
arch/i386/kernel/built-in.o(.init.text+0x167e): In function `setup_arch':
: undefined reference to `acpi_boot_table_init'
make: *** [.tmp_vmlinux1] Fehler 1
The patch which seems to be responsible is:
x86_64-split-acpi-boot-table-parsing.patch
Around line 83 and the following.
acpi_boot_table_init is located in arch/i386/kernel/acpi/boot.c But it's only compiled with CONFIG_ACPI_BOOT set.
The attached patch fixes the problem by adding a dummy function to include/linux/acpi.h - like it's done for acpi_init() too.
Regards,
Carsten
Please cc, I'm not subscribed.
include/linux/acpi.h +7 -0
@@ -424,6 +424,13 @@ static inline int acpi_table_init(void) return 0; } +static inline int acpi_boot_table_init (void ) +{ +return 0 ; +} + + +#endif /*!CONFIG_ACPI_BOOT*/ unsigned int acpi_register_gsi (u32 gsi,int edge_level,int active_high_low);