From: "Stefan Becker (NMP/Salo)" <Stefan.Becker-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [PATCH] Fix compilation errors in 20030813 when IO APIC not configured
Date: Thu, 21 Aug 2003 10:22:56 +0300 [thread overview]
Message-ID: <3F447350.3090409@nokia.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
Hi,
when I tried to compile 2.4.22-rc2 + ACPI 20030813 I got a compilation
error in setup.c. Adding a CONFIG_X86_IO_APIC around the offending
places fixed the problem. See the attached diffs.
Reading some recent messages on this mailing list, I think I should try
to enable the kernel options LOCAL APIC and IO APIC for my laptop though...
Regards,
Stefan
---
Stefan Becker
E-Mail: Stefan.Becker-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org
[-- Attachment #2: acpi-20030813-2.4.22-rc2-FIX.diff --]
[-- Type: text/plain, Size: 822 bytes --]
--- linux-2.4.22-rc2/arch/i386/kernel/setup.c~ 2003-08-20 18:36:25.000000000 +0300
+++ linux-2.4.22-rc2/arch/i386/kernel/setup.c 2003-08-20 19:01:50.000000000 +0300
@@ -179,6 +179,9 @@
int acpi_disabled __initdata = 0;
int acpi_ht __initdata = 1; /* enable HT */
int acpi_force __initdata = 0;
+#ifdef CONFIG_X86_IO_APIC
+extern int skip_ioapic_setup;
+#endif
#else
int acpi_disabled __initdata = 1;
#endif
@@ -825,11 +828,13 @@
if (!acpi_force) acpi_disabled = 1;
}
+#ifdef CONFIG_X86_IO_APIC
/* disable IO-APIC */
else if (!memcmp(from, "noapic", 6)) {
skip_ioapic_setup = 1;
}
#endif
+#endif
/*
* highmem=size forces highmem to be exactly 'size' bytes.
* This works even on boxes that have no highmem otherwise.
reply other threads:[~2003-08-21 7:22 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=3F447350.3090409@nokia.com \
--to=stefan.becker-xnzwkgviw5gavxtiumwx3w@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox