From: Stephane Ouellette <ouellettes@videotron.ca>
To: linux-kernel@vger.kernel.org
Subject: [PATCH][RESEND] Compile warning in arch/i386/kernel/setup.c
Date: Thu, 18 May 2006 23:40:54 -0400 [thread overview]
Message-ID: <446D3E46.7080707@videotron.ca> (raw)
[-- 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.
*/
reply other threads:[~2006-05-19 3:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=446D3E46.7080707@videotron.ca \
--to=ouellettes@videotron.ca \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.