mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PATCH: fix non SMP acpi build
@ 2003-02-14 21:02 Alan Cox
  2003-02-14 21:58 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2003-02-14 21:02 UTC (permalink / raw)
  To: torvalds, linux-kernel

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PATCH: fix non SMP acpi build
  2003-02-14 21:02 PATCH: fix non SMP acpi build Alan Cox
@ 2003-02-14 21:58 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2003-02-14 21:58 UTC (permalink / raw)
  To: Alan Cox; +Cc: torvalds, linux-kernel

Thanks!  I was too lazy to create this patch myself...

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-14 21:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-14 21:02 PATCH: fix non SMP acpi build Alan Cox
2003-02-14 21:58 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®