diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-06-04 01:15:53 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-14 08:29:58 -0400 |
commit | 5f9f375a62d3fd3d7f0d5adc23039ade523e62ba (patch) | |
tree | 26170e7aabecbc2e103bffef700bd59def139a0c /arch | |
parent | f478f5430c8a599f46c41e8172a507a5772a6b69 (diff) |
[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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/signal.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c index 640b5f3611ee..a9c148a09361 100644 --- a/arch/powerpc/kernel/signal.c +++ b/arch/powerpc/kernel/signal.c | |||
@@ -9,7 +9,6 @@ | |||
9 | * this archive for more details. | 9 | * this archive for more details. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/freezer.h> | ||
13 | #include <linux/ptrace.h> | 12 | #include <linux/ptrace.h> |
14 | #include <linux/signal.h> | 13 | #include <linux/signal.h> |
15 | #include <asm/unistd.h> | 14 | #include <asm/unistd.h> |
@@ -101,14 +100,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs) | |||
101 | int ret; | 100 | int ret; |
102 | int is32 = is_32bit_task(); | 101 | int is32 = is_32bit_task(); |
103 | 102 | ||
104 | #ifdef CONFIG_PPC32 | ||
105 | if (try_to_freeze()) { | ||
106 | signr = 0; | ||
107 | if (!signal_pending(current)) | ||
108 | goto no_signal; | ||
109 | } | ||
110 | #endif | ||
111 | |||
112 | if (test_thread_flag(TIF_RESTORE_SIGMASK)) | 103 | if (test_thread_flag(TIF_RESTORE_SIGMASK)) |
113 | oldset = ¤t->saved_sigmask; | 104 | oldset = ¤t->saved_sigmask; |
114 | else if (!oldset) | 105 | else if (!oldset) |
@@ -116,9 +107,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs) | |||
116 | 107 | ||
117 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); | 108 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); |
118 | 109 | ||
119 | #ifdef CONFIG_PPC32 | ||
120 | no_signal: | ||
121 | #endif | ||
122 | /* Is there any syscall restart business here ? */ | 110 | /* Is there any syscall restart business here ? */ |
123 | check_syscall_restart(regs, &ka, signr > 0); | 111 | check_syscall_restart(regs, &ka, signr > 0); |
124 | 112 | ||