Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210837
b: refs/heads/master
c: 20cd514
h: refs/heads/master
i:
  210835: 1bfb4ed
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Sep 20, 2010
1 parent 70c1592 commit 1015b77
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 31c4a3d3a0f84a5847665f8aa0552d188389f791
refs/heads/master: 20cd514d0f3d288d968217028ca67b70e707d896
3 changes: 3 additions & 0 deletions trunk/arch/frv/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ static int restore_sigcontext(struct sigcontext __user *sc, int *_gr8)
struct user_context *user = current->thread.user;
unsigned long tbr, psr;

/* Always make any pending restarted system calls return -EINTR */
current_thread_info()->restart_block.fn = do_no_restart_syscall;

tbr = user->i.tbr;
psr = user->i.psr;
if (copy_from_user(user, &sc->sc_context, sizeof(sc->sc_context)))
Expand Down

0 comments on commit 1015b77

Please sign in to comment.