Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100163
b: refs/heads/master
c: eca91e7
h: refs/heads/master
i:
  100161: 460a902
  100159: 257f13a
v: v3
  • Loading branch information
Roland McGrath authored and Ingo Molnar committed Jul 12, 2008
1 parent 5b02a26 commit c60475a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: da1f29f5dfcc8641f9ff6f3deaa9f03b57e63229
refs/heads/master: eca91e7838ec92e8c12122849ec7539c4765b689
7 changes: 3 additions & 4 deletions trunk/arch/x86/kernel/entry_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ sysret_signal:
leaq -ARGOFFSET(%rsp),%rdi # &pt_regs -> arg1
xorl %esi,%esi # oldset -> arg2
call ptregscall_common
1: movl $_TIF_NEED_RESCHED,%edi
1: movl $_TIF_WORK_MASK,%edi
/* Use IRET because user could have changed frame. This
works because ptregscall_common has called FIXUP_TOP_OF_STACK. */
DISABLE_INTERRUPTS(CLBR_NONE)
Expand Down Expand Up @@ -394,7 +394,7 @@ int_signal:
movq %rsp,%rdi # &ptregs -> arg1
xorl %esi,%esi # oldset -> arg2
call do_notify_resume
1: movl $_TIF_NEED_RESCHED,%edi
1: movl $_TIF_WORK_MASK,%edi
int_restore_rest:
RESTORE_REST
DISABLE_INTERRUPTS(CLBR_NONE)
Expand Down Expand Up @@ -647,9 +647,8 @@ retint_signal:
RESTORE_REST
DISABLE_INTERRUPTS(CLBR_NONE)
TRACE_IRQS_OFF
movl $_TIF_NEED_RESCHED,%edi
GET_THREAD_INFO(%rcx)
jmp retint_check
jmp retint_with_reschedule

#ifdef CONFIG_PREEMPT
/* Returning to kernel space. Check if we need preemption */
Expand Down

0 comments on commit c60475a

Please sign in to comment.