direct-io.hg

diff patches/linux-2.6.16.33/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch @ 12592:6c2c7ff6265a

[LINUX] Update to 2.6.16.33.

No changes required to sparse tree or patches directory.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Tue Nov 28 15:25:26 2006 +0000 (2006-11-28)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/linux-2.6.16.33/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch	Tue Nov 28 15:25:26 2006 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +diff -pruN ../orig-linux-2.6.16.29/arch/i386/kernel/entry.S ./arch/i386/kernel/entry.S
     1.5 +--- ../orig-linux-2.6.16.29/arch/i386/kernel/entry.S	2006-09-12 19:02:10.000000000 +0100
     1.6 ++++ ./arch/i386/kernel/entry.S	2006-09-19 14:05:44.000000000 +0100
     1.7 +@@ -177,7 +177,7 @@ need_resched:
     1.8 + 
     1.9 + 	# sysenter call handler stub
    1.10 + ENTRY(sysenter_entry)
    1.11 +-	movl TSS_sysenter_esp0(%esp),%esp
    1.12 ++	movl SYSENTER_stack_esp0(%esp),%esp
    1.13 + sysenter_past_esp:
    1.14 + 	sti
    1.15 + 	pushl $(__USER_DS)
    1.16 +@@ -492,7 +492,7 @@ device_not_available_emulate:
    1.17 +  * that sets up the real kernel stack. Check here, since we can't
    1.18 +  * allow the wrong stack to be used.
    1.19 +  *
    1.20 +- * "TSS_sysenter_esp0+12" is because the NMI/debug handler will have
    1.21 ++ * "SYSENTER_stack_esp0+12" is because the NMI/debug handler will have
    1.22 +  * already pushed 3 words if it hits on the sysenter instruction:
    1.23 +  * eflags, cs and eip.
    1.24 +  *
    1.25 +@@ -504,7 +504,7 @@ device_not_available_emulate:
    1.26 + 	cmpw $__KERNEL_CS,4(%esp);		\
    1.27 + 	jne ok;					\
    1.28 + label:						\
    1.29 +-	movl TSS_sysenter_esp0+offset(%esp),%esp;	\
    1.30 ++	movl SYSENTER_stack_esp0+offset(%esp),%esp;	\
    1.31 + 	pushfl;					\
    1.32 + 	pushl $__KERNEL_CS;			\
    1.33 + 	pushl $sysenter_past_esp