ia64/xen-unstable
annotate patches/linux-2.6.16.13/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch @ 11154:bb37d167c82e
[XEND] xc_save/xc_restore open the libxc interface independently
of their parent. This is required now that the interface fd is
marked for close-on-exec.
Signed-off-by: Keir Fraser <keir@xensource.com>
of their parent. This is required now that the interface fd is
marked for close-on-exec.
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kfraser@localhost.localdomain |
---|---|
date | Tue Aug 15 19:04:43 2006 +0100 (2006-08-15) |
parents | ad5b833122a8 |
children |
rev | line source |
---|---|
cl349@9941 | 1 diff -pruN ../pristine-linux-2.6.16.13/arch/i386/kernel/entry.S ./arch/i386/kernel/entry.S |
cl349@9941 | 2 --- ../pristine-linux-2.6.16.13/arch/i386/kernel/entry.S 2006-05-02 22:38:44.000000000 +0100 |
cl349@9941 | 3 +++ ./arch/i386/kernel/entry.S 2006-05-04 17:41:44.000000000 +0100 |
cl349@9941 | 4 @@ -177,7 +177,7 @@ need_resched: |
Ian@9819 | 5 |
Ian@9819 | 6 # sysenter call handler stub |
Ian@9819 | 7 ENTRY(sysenter_entry) |
Ian@9819 | 8 - movl TSS_sysenter_esp0(%esp),%esp |
Ian@9819 | 9 + movl SYSENTER_stack_esp0(%esp),%esp |
Ian@9819 | 10 sysenter_past_esp: |
Ian@9819 | 11 sti |
Ian@9819 | 12 pushl $(__USER_DS) |
cl349@9941 | 13 @@ -492,7 +492,7 @@ device_not_available_emulate: |
Ian@9819 | 14 * that sets up the real kernel stack. Check here, since we can't |
Ian@9819 | 15 * allow the wrong stack to be used. |
Ian@9819 | 16 * |
Ian@9819 | 17 - * "TSS_sysenter_esp0+12" is because the NMI/debug handler will have |
Ian@9819 | 18 + * "SYSENTER_stack_esp0+12" is because the NMI/debug handler will have |
Ian@9819 | 19 * already pushed 3 words if it hits on the sysenter instruction: |
Ian@9819 | 20 * eflags, cs and eip. |
Ian@9819 | 21 * |
cl349@9941 | 22 @@ -504,7 +504,7 @@ device_not_available_emulate: |
Ian@9819 | 23 cmpw $__KERNEL_CS,4(%esp); \ |
Ian@9819 | 24 jne ok; \ |
Ian@9819 | 25 label: \ |
Ian@9819 | 26 - movl TSS_sysenter_esp0+offset(%esp),%esp; \ |
Ian@9819 | 27 + movl SYSENTER_stack_esp0+offset(%esp),%esp; \ |
Ian@9819 | 28 pushfl; \ |
Ian@9819 | 29 pushl $__KERNEL_CS; \ |
Ian@9819 | 30 pushl $sysenter_past_esp |