Mailing List Archive

linux-i386: Cleanup stack pointer initialization at start of day.
# HG changeset patch
# User cl349@firebug.cl.cam.ac.uk
# Node ID 687165bc9670d2230f39d4790769f8d0ad87115f
# Parent 9fa969af72cd2b38ee5248a20f613e3e42f328aa
linux-i386: Cleanup stack pointer initialization at start of day.

From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>

diff -r 9fa969af72cd -r 687165bc9670 linux-2.6-xen-sparse/arch/i386/kernel/head-xen.S
--- a/linux-2.6-xen-sparse/arch/i386/kernel/head-xen.S Mon Feb 20 18:03:56 2006
+++ b/linux-2.6-xen-sparse/arch/i386/kernel/head-xen.S Mon Feb 20 20:26:24 2006
@@ -33,7 +33,7 @@
cld

/* Set up the stack pointer */
- lss stack_start,%esp
+ movl $(init_thread_union+THREAD_SIZE),%esp

checkCPUtype:

@@ -90,10 +90,6 @@
pushl %eax
lret

-ENTRY(stack_start)
- .long init_thread_union+THREAD_SIZE
- .long __BOOT_DS
-
ALIGN

# boot GDT descriptor (later on used by CPU#0):

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog