lkml.org 
[lkml]   [2002]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.5.40 Compile fix for UP-NOAPIC-ACPI
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
--- 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*/
\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.048 / U:2.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site