Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150315
b: refs/heads/master
c: 690cc3f
h: refs/heads/master
i:
  150313: fe2c5e4
  150311: 9a7be61
v: v3
  • Loading branch information
Eric W. Biederman authored and David S. Miller committed May 19, 2009
1 parent 3e9b5f5 commit 7dbc2fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1
refs/heads/master: 690cc3ffe33ac4a2857583c22d4c6244ae11684d
6 changes: 6 additions & 0 deletions trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -2178,6 +2178,12 @@ static inline int test_tsk_need_resched(struct task_struct *tsk)
return unlikely(test_tsk_thread_flag(tsk,TIF_NEED_RESCHED));
}

static inline int restart_syscall(void)
{
set_tsk_thread_flag(current, TIF_SIGPENDING);
return -ERESTARTNOINTR;
}

static inline int signal_pending(struct task_struct *p)
{
return unlikely(test_tsk_thread_flag(p,TIF_SIGPENDING));
Expand Down

0 comments on commit 7dbc2fe

Please sign in to comment.