Commit 5f9f375a authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Paul Mackerras

[POWERPC] Remove obsolete freezer bits

The powerpc signal code still had some obsolete freezer bits that
have long been removed from x86 (it's now done in generic code).
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent f478f543
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
* this archive for more details. * this archive for more details.
*/ */
#include <linux/freezer.h>
#include <linux/ptrace.h> #include <linux/ptrace.h>
#include <linux/signal.h> #include <linux/signal.h>
#include <asm/unistd.h> #include <asm/unistd.h>
...@@ -101,14 +100,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs) ...@@ -101,14 +100,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
int ret; int ret;
int is32 = is_32bit_task(); int is32 = is_32bit_task();
#ifdef CONFIG_PPC32
if (try_to_freeze()) {
signr = 0;
if (!signal_pending(current))
goto no_signal;
}
#endif
if (test_thread_flag(TIF_RESTORE_SIGMASK)) if (test_thread_flag(TIF_RESTORE_SIGMASK))
oldset = &current->saved_sigmask; oldset = &current->saved_sigmask;
else if (!oldset) else if (!oldset)
...@@ -116,9 +107,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs) ...@@ -116,9 +107,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
signr = get_signal_to_deliver(&info, &ka, regs, NULL); signr = get_signal_to_deliver(&info, &ka, regs, NULL);
#ifdef CONFIG_PPC32
no_signal:
#endif
/* Is there any syscall restart business here ? */ /* Is there any syscall restart business here ? */
check_syscall_restart(regs, &ka, signr > 0); check_syscall_restart(regs, &ka, signr > 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment