public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* i386 very early memory detection cleanup patch breaks the build
@ 2004-03-13 17:15 James Bottomley
  2004-03-13 19:48 ` James Bottomley
  2004-03-13 21:43 ` H. Peter Anvin
  0 siblings, 2 replies; 8+ messages in thread
From: James Bottomley @ 2004-03-13 17:15 UTC (permalink / raw)
  To: hpa, Andrew Morton; +Cc: Linux Kernel

The attached should fix it again.

This tampering with the trampoline was extraneous to the actual patch. 
The rule should be that if you don't understand what something is doing,
don't try to fix it.

In this case CONFIG_X86_TRAMPOLINE is needed for the subarch's that
provide their own SMP code but still use the standard trampoline.  I
always thought the visws used the trampoline even in UP boot, but if it
doesn't, just take out the X86_VISWS dependency.

James

P.S.  I'm still compiling, I'll yell again if the patch breaks at
runtime too.

===== arch/i386/Kconfig 1.108 vs edited =====
--- 1.108/arch/i386/Kconfig	Fri Mar 12 03:33:00 2004
+++ edited/arch/i386/Kconfig	Sat Mar 13 10:55:36 2004
@@ -1332,6 +1332,11 @@
 	depends on !(X86_VISWS || X86_VOYAGER)
 	default y
 
+config X86_TRAMPOLINE
+	bool
+	depends on SMP || X86_VISWS
+	default y
+
 config PC
 	bool
 	depends on X86 && !EMBEDDED
===== arch/i386/defconfig 1.107 vs edited =====
--- 1.107/arch/i386/defconfig	Fri Mar 12 03:30:22 2004
+++ edited/arch/i386/defconfig	Sat Mar 13 10:55:37 2004
@@ -1212,4 +1212,5 @@
 CONFIG_X86_SMP=y
 CONFIG_X86_HT=y
 CONFIG_X86_BIOS_REBOOT=y
+CONFIG_X86_TRAMPOLINE=y
 CONFIG_PC=y
===== arch/i386/kernel/Makefile 1.56 vs edited =====
--- 1.56/arch/i386/kernel/Makefile	Fri Mar 12 03:30:22 2004
+++ edited/arch/i386/kernel/Makefile	Sat Mar 13 10:55:37 2004
@@ -18,7 +18,8 @@
 obj-$(CONFIG_X86_CPUID)		+= cpuid.o
 obj-$(CONFIG_MICROCODE)		+= microcode.o
 obj-$(CONFIG_APM)		+= apm.o
-obj-$(CONFIG_X86_SMP)		+= smp.o smpboot.o trampoline.o
+obj-$(CONFIG_X86_SMP)		+= smp.o smpboot.o
+obj-$(CONFIG_X86_TRAMPOLINE)	+= trampoline.o
 obj-$(CONFIG_X86_MPPARSE)	+= mpparse.o
 obj-$(CONFIG_X86_LOCAL_APIC)	+= apic.o nmi.o
 obj-$(CONFIG_X86_IO_APIC)	+= io_apic.o


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

end of thread, other threads:[~2004-03-14  2:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-13 17:15 i386 very early memory detection cleanup patch breaks the build James Bottomley
2004-03-13 19:48 ` James Bottomley
2004-03-13 21:43 ` H. Peter Anvin
2004-03-13 22:10   ` James Bottomley
2004-03-13 22:29     ` H. Peter Anvin
2004-03-13 22:38       ` James Bottomley
2004-03-14  2:05       ` James Bottomley
2004-03-14  2:16         ` H. Peter Anvin

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