Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43042
b: refs/heads/master
c: 74b47a7
h: refs/heads/master
v: v3
  • Loading branch information
Joe Korty authored and Andi Kleen committed Dec 7, 2006
1 parent 1487917 commit f789088
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 249e83fe839a13b5dc94285daeeaf70f6e54d930
refs/heads/master: 74b47a7844501445d41d704fe7c626f4b1819508
6 changes: 4 additions & 2 deletions trunk/arch/i386/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ work_resched:

work_notifysig: # deal with pending signals and
# notify-resume requests
#ifdef CONFIG_VM86
testl $VM_MASK, PT_EFLAGS(%esp)
movl %esp, %eax
jne work_notifysig_v86 # returning to kernel-space or
Expand All @@ -467,17 +468,18 @@ work_notifysig: # deal with pending signals and

ALIGN
work_notifysig_v86:
#ifdef CONFIG_VM86
pushl %ecx # save ti_flags for do_notify_resume
CFI_ADJUST_CFA_OFFSET 4
call save_v86_state # %eax contains pt_regs pointer
popl %ecx
CFI_ADJUST_CFA_OFFSET -4
movl %eax, %esp
#else
movl %esp, %eax
#endif
xorl %edx, %edx
call do_notify_resume
jmp resume_userspace_sig
#endif

# perform syscall exit tracing
ALIGN
Expand Down

0 comments on commit f789088

Please sign in to comment.