Skip to content

Commit

Permalink
[MIPS] Don't call try_to_freeze in do_signal & co.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Sep 27, 2006
1 parent b4b30a5 commit 048c614
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions arch/mips/kernel/irixsig.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,17 +186,13 @@ asmlinkage int do_irix_signal(sigset_t *oldset, struct pt_regs *regs)
if (!user_mode(regs))
return 1;

if (try_to_freeze())
goto no_signal;

if (!oldset)
oldset = &current->blocked;

signr = get_signal_to_deliver(&info, &ka, regs, NULL);
if (signr > 0)
return handle_signal(signr, &info, &ka, oldset, regs);

no_signal:
/*
* Who's code doesn't conform to the restartable syscall convention
* dies here!!! The li instruction, a single machine instruction,
Expand Down
4 changes: 0 additions & 4 deletions arch/mips/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,6 @@ void do_signal(struct pt_regs *regs)
if (!user_mode(regs))
return;

if (try_to_freeze())
goto no_signal;

if (test_thread_flag(TIF_RESTORE_SIGMASK))
oldset = &current->saved_sigmask;
else
Expand All @@ -448,7 +445,6 @@ void do_signal(struct pt_regs *regs)
}
}

no_signal:
/*
* Who's code doesn't conform to the restartable syscall convention
* dies here!!! The li instruction, a single machine instruction,
Expand Down
4 changes: 0 additions & 4 deletions arch/mips/kernel/signal32.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,9 +815,6 @@ void do_signal32(struct pt_regs *regs)
if (!user_mode(regs))
return;

if (try_to_freeze())
goto no_signal;

if (test_thread_flag(TIF_RESTORE_SIGMASK))
oldset = &current->saved_sigmask;
else
Expand All @@ -838,7 +835,6 @@ void do_signal32(struct pt_regs *regs)
}
}

no_signal:
/*
* Who's code doesn't conform to the restartable syscall convention
* dies here!!! The li instruction, a single machine instruction,
Expand Down

0 comments on commit 048c614

Please sign in to comment.