Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145732
b: refs/heads/master
c: 975e5f4
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Bronson authored and H. Peter Anvin committed May 7, 2009
1 parent 4e17d47 commit dbf15d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bf293c17b26b8854241df08b9b63f7270cbde012
refs/heads/master: 975e5f45500dff6d15c0001bb662e9aac0ce0076
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/vm86_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk
}

/*
* Save old state, set default return value (%ax) to 0
* Save old state, set default return value (%ax) to 0 (VM86_SIGNAL)
*/
info->regs32->ax = 0;
info->regs32->ax = VM86_SIGNAL;
tsk->thread.saved_sp0 = tsk->thread.sp0;
tsk->thread.saved_fs = info->regs32->fs;
tsk->thread.saved_gs = get_user_gs(info->regs32);
Expand Down

0 comments on commit dbf15d5

Please sign in to comment.