linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2.5.40 Compile fix for UP-NOAPIC-ACPI
@ 2002-10-02 11:23 Torben Mathiasen
  0 siblings, 0 replies; only message in thread
From: Torben Mathiasen @ 2002-10-02 11:23 UTC (permalink / raw)
  To: linux-kernel

[-- 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*/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-02 11:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-02 11:23 [PATCH] 2.5.40 Compile fix for UP-NOAPIC-ACPI Torben Mathiasen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).