git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
arch
/
i386
/
kernel
/
vm86.c
diff --git
a/arch/i386/kernel/vm86.c
b/arch/i386/kernel/vm86.c
index
a5af5ec
..
e0e3bdf
100644
(file)
--- a/
arch/i386/kernel/vm86.c
+++ b/
arch/i386/kernel/vm86.c
@@
-125,7
+125,7
@@
struct pt_regs * fastcall save_v86_state(struct kernel_vm86_regs * regs)
tss = init_tss + get_cpu();
current->thread.esp0 = current->thread.saved_esp0;
current->thread.sysenter_cs = __KERNEL_CS;
tss = init_tss + get_cpu();
current->thread.esp0 = current->thread.saved_esp0;
current->thread.sysenter_cs = __KERNEL_CS;
- load_
esp0(tss, ¤t->thread
);
+ load_
virtual_esp0(tss, current
);
current->thread.saved_esp0 = 0;
put_cpu();
current->thread.saved_esp0 = 0;
put_cpu();
@@
-305,7
+305,7
@@
static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk
tsk->thread.esp0 = (unsigned long) &info->VM86_TSS_ESP0;
if (cpu_has_sep)
tsk->thread.sysenter_cs = 0;
tsk->thread.esp0 = (unsigned long) &info->VM86_TSS_ESP0;
if (cpu_has_sep)
tsk->thread.sysenter_cs = 0;
- load_
esp0(tss, &tsk->thread
);
+ load_
virtual_esp0(tss, tsk
);
put_cpu();
tsk->thread.screen_bitmap = info->screen_bitmap;
put_cpu();
tsk->thread.screen_bitmap = info->screen_bitmap;