Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210841
b: refs/heads/master
c: ed1cde6
h: refs/heads/master
i:
  210839: 9f3b599
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Sep 20, 2010
1 parent 8c7b17b commit 5016c6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 44c7afffa429a7cdcd1755019ab76566ff41e66d
refs/heads/master: ed1cde68365c1251b920900c51e73675ff38dc66
4 changes: 3 additions & 1 deletion trunk/arch/frv/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ static int handle_signal(unsigned long sig, siginfo_t *info,
int ret;

/* Are we from a system call? */
if (in_syscall(__frame)) {
if (__frame->syscallno != -1) {
/* If so, check system call restarting.. */
switch (__frame->gr8) {
case -ERESTART_RESTARTBLOCK:
Expand All @@ -465,6 +465,7 @@ static int handle_signal(unsigned long sig, siginfo_t *info,
__frame->gr8 = __frame->orig_gr8;
__frame->pc -= 4;
}
__frame->syscallno = -1;
}

/* Set up the stack frame */
Expand Down Expand Up @@ -551,6 +552,7 @@ static void do_signal(void)
__frame->pc -= 4;
break;
}
__frame->syscallno = -1;
}

/* if there's no signal to deliver, we just put the saved sigmask
Expand Down

0 comments on commit 5016c6e

Please sign in to comment.