LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 2/3] Vmi initialize fs for smp
@ 2007-01-05  4:35 Zachary Amsden
  0 siblings, 0 replies; only message in thread
From: Zachary Amsden @ 2007-01-05  4:35 UTC (permalink / raw)
  To: Andrew Morton, Rusty Russell, Andi Kleen, Jeremy Fitzhardinge,
	Chris Wright, Virtualization Mailing List,
	Linux Kernel Mailing List, Eli Collins, Zachary Amsden

Now that Jeremy's change to move the kernel PDA to %fs has arrived,
convert the AP processor setup for SMP to use FS instead of GS.

Signed-off-by: Zachary Amsden <zach@vmware.com>

diff -r 2ac108843573 arch/i386/kernel/vmi.c
--- a/arch/i386/kernel/vmi.c	Thu Jan 04 20:01:52 2007 -0800
+++ b/arch/i386/kernel/vmi.c	Thu Jan 04 20:02:42 2007 -0800
@@ -533,8 +533,8 @@ vmi_startup_ipi_hook(int phys_apicid, un
 
 	ap.ds = __USER_DS;
 	ap.es = __USER_DS;
-	ap.fs = 0;
-	ap.gs = __KERNEL_PDA;
+	ap.fs = __KERNEL_PDA;
+	ap.gs = 0;
 
 	ap.eflags = 0;
 

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

only message in thread, other threads:[~2007-01-05  4:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-05  4:35 [PATCH 2/3] Vmi initialize fs for smp Zachary Amsden

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).