Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26
b: refs/heads/master
c: 16acbc6
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mackerras authored and Linus Torvalds committed Apr 16, 2005
1 parent 1aeb68f commit 69c8291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 0c9b79429c83a404a04908be65baa9d97836bbb6
refs/heads/master: 16acbc624e2b7b750570cb672341d05a816051f4
4 changes: 1 addition & 3 deletions trunk/arch/ppc/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
if (current->flags & PF_FREEZE) {
refrigerator(PF_FREEZE);
signr = 0;
ret = regs->gpr[3];
if (!signal_pending(current))
goto no_signal;
}
Expand All @@ -719,7 +718,7 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
newsp = frame = 0;

signr = get_signal_to_deliver(&info, &ka, regs, NULL);

no_signal:
if (TRAP(regs) == 0x0C00 /* System Call! */
&& regs->ccr & 0x10000000 /* error signalled */
&& ((ret = regs->gpr[3]) == ERESTARTSYS
Expand All @@ -735,7 +734,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
regs->gpr[3] = EINTR;
/* note that the cr0.SO bit is already set */
} else {
no_signal:
regs->nip -= 4; /* Back up & retry system call */
regs->result = 0;
regs->trap = 0;
Expand Down

0 comments on commit 69c8291

Please sign in to comment.