From: Torben Mathiasen <torben.mathiasen@hp.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5.40 Compile fix for UP-NOAPIC-ACPI
Date: Wed, 2 Oct 2002 13:23:52 +0200 [thread overview]
Message-ID: <20021002112352.GD1952@tmathiasen> (raw)
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
Seems 2.5.40 won't compile on UP when no local apic is used and ACPI is
enabled.
Not sure attached patch is 100% correct, but it seems to work for me.
Cheers,
Torben
[-- Attachment #2: up-acpi-compile.diff --]
[-- Type: text/plain, Size: 411 bytes --]
--- linux-2.5.40-vanilla/arch/i386/kernel/mpparse.c Tue Oct 1 09:06:28 2002
+++ linux-2.5.40/arch/i386/kernel/mpparse.c Wed Oct 2 13:14:18 2002
@@ -784,6 +784,8 @@
#ifdef CONFIG_ACPI_BOOT
+#ifdef CONFIG_X86_LOCAL_APIC
+
void __init mp_register_lapic_address (
u64 address)
{
@@ -1127,4 +1129,6 @@
#endif /*CONFIG_X86_IO_APIC*/
+#endif /*CONFIG_X86_LOCAL_APIC*/
+
#endif /*CONFIG_ACPI_BOOT*/
reply other threads:[~2002-10-02 11:19 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=20021002112352.GD1952@tmathiasen \
--to=torben.mathiasen@hp.com \
--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.