* [PATCH][RESEND] Compile warning in arch/i386/kernel/setup.c
@ 2006-05-19 3:40 Stephane Ouellette
0 siblings, 0 replies; only message in thread
From: Stephane Ouellette @ 2006-05-19 3:40 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
Hi,
I got an "implicit function declaration" warning because check_acpi_pci() depends on CONFIG_ACPI, NOT on CONFIG_X86_IO_APIC.
The following patch fixes this warning and applies to kernel 2.6.16.16.
Regards,
Stephane.
[-- Attachment #2: kernel.patch --]
[-- Type: text/x-patch, Size: 452 bytes --]
--- linux-2.6.16.16/arch/i386/kernel/setup.c 2006-05-18 11:34:10.000000000 -0400
+++ linux-2.6.16.16-fixed/arch/i386/kernel/setup.c 2006-05-18 11:51:46.000000000 -0400
@@ -1599,11 +1599,9 @@
if (efi_enabled)
efi_map_memmap();
-#ifdef CONFIG_X86_IO_APIC
+#ifdef CONFIG_ACPI
check_acpi_pci(); /* Checks more than just ACPI actually */
-#endif
-#ifdef CONFIG_ACPI
/*
* Parse the ACPI tables for possible boot-time SMP configuration.
*/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-19 3:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-19 3:40 [PATCH][RESEND] Compile warning in arch/i386/kernel/setup.c Stephane Ouellette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox