[MIPS] Don't call try_to_freeze in do_signal & co.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -186,9 +186,6 @@ asmlinkage int do_irix_signal(sigset_t *oldset, struct pt_regs *regs)
|
|||||||
if (!user_mode(regs))
|
if (!user_mode(regs))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if (try_to_freeze())
|
|
||||||
goto no_signal;
|
|
||||||
|
|
||||||
if (!oldset)
|
if (!oldset)
|
||||||
oldset = ¤t->blocked;
|
oldset = ¤t->blocked;
|
||||||
|
|
||||||
@@ -196,7 +193,6 @@ asmlinkage int do_irix_signal(sigset_t *oldset, struct pt_regs *regs)
|
|||||||
if (signr > 0)
|
if (signr > 0)
|
||||||
return handle_signal(signr, &info, &ka, oldset, regs);
|
return handle_signal(signr, &info, &ka, oldset, regs);
|
||||||
|
|
||||||
no_signal:
|
|
||||||
/*
|
/*
|
||||||
* Who's code doesn't conform to the restartable syscall convention
|
* Who's code doesn't conform to the restartable syscall convention
|
||||||
* dies here!!! The li instruction, a single machine instruction,
|
* dies here!!! The li instruction, a single machine instruction,
|
||||||
|
@@ -424,9 +424,6 @@ void do_signal(struct pt_regs *regs)
|
|||||||
if (!user_mode(regs))
|
if (!user_mode(regs))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (try_to_freeze())
|
|
||||||
goto no_signal;
|
|
||||||
|
|
||||||
if (test_thread_flag(TIF_RESTORE_SIGMASK))
|
if (test_thread_flag(TIF_RESTORE_SIGMASK))
|
||||||
oldset = ¤t->saved_sigmask;
|
oldset = ¤t->saved_sigmask;
|
||||||
else
|
else
|
||||||
@@ -448,7 +445,6 @@ void do_signal(struct pt_regs *regs)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
no_signal:
|
|
||||||
/*
|
/*
|
||||||
* Who's code doesn't conform to the restartable syscall convention
|
* Who's code doesn't conform to the restartable syscall convention
|
||||||
* dies here!!! The li instruction, a single machine instruction,
|
* dies here!!! The li instruction, a single machine instruction,
|
||||||
|
@@ -815,9 +815,6 @@ void do_signal32(struct pt_regs *regs)
|
|||||||
if (!user_mode(regs))
|
if (!user_mode(regs))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (try_to_freeze())
|
|
||||||
goto no_signal;
|
|
||||||
|
|
||||||
if (test_thread_flag(TIF_RESTORE_SIGMASK))
|
if (test_thread_flag(TIF_RESTORE_SIGMASK))
|
||||||
oldset = ¤t->saved_sigmask;
|
oldset = ¤t->saved_sigmask;
|
||||||
else
|
else
|
||||||
@@ -838,7 +835,6 @@ void do_signal32(struct pt_regs *regs)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
no_signal:
|
|
||||||
/*
|
/*
|
||||||
* Who's code doesn't conform to the restartable syscall convention
|
* Who's code doesn't conform to the restartable syscall convention
|
||||||
* dies here!!! The li instruction, a single machine instruction,
|
* dies here!!! The li instruction, a single machine instruction,
|
||||||
|
Reference in New Issue
Block a user