lkml.org 
[lkml]   [2003]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectPATCH: fix non SMP acpi build
Date
From
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.60-ref/include/asm-i386/mach-default/mach_apic.h linux-2.5.60-ac1/include/asm-i386/mach-default/mach_apic.h
--- linux-2.5.60-ref/include/asm-i386/mach-default/mach_apic.h 2003-02-14 21:21:46.000000000 +0000
+++ linux-2.5.60-ac1/include/asm-i386/mach-default/mach_apic.h 2003-02-14 18:12:47.000000000 +0000
@@ -1,6 +1,8 @@
#ifndef __ASM_MACH_APIC_H
#define __ASM_MACH_APIC_H

+#ifdef CONFIG_LOCAL_APIC
+
#define APIC_DFR_VALUE (APIC_DFR_FLAT)

#ifdef CONFIG_SMP
@@ -98,4 +100,6 @@
return test_bit(boot_cpu_physical_apicid, &phys_cpu_present_map);
}

+#endif
+
#endif /* __ASM_MACH_APIC_H */
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.60-ref/arch/i386/kernel/acpi/boot.c linux-2.5.60-ac1/arch/i386/kernel/acpi/boot.c
--- linux-2.5.60-ref/arch/i386/kernel/acpi/boot.c 2003-02-14 21:45:55.000000000 +0000
+++ linux-2.5.60-ac1/arch/i386/kernel/acpi/boot.c 2003-02-14 18:14:04.000000000 +0000
@@ -26,6 +26,7 @@
#include <linux/init.h>
#include <linux/acpi.h>
#include <asm/pgalloc.h>
+#include <asm/mpspec.h>

#include <mach_apic.h>
#include <mach_mpparse.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.024 / U:1.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site