Subject: [PATCH 18/21] powerpc: Remove obsolete freezer bits

From: Benjamin Herrenschmidt <[email-masked]>
Date: Mon, 04 Jun 2007 15:15:53 +1000

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 <[email-masked]>
---

 arch/powerpc/kernel/signal.c |   12 ------------
 1 file changed, 12 deletions(-)

Index: linux-cell/arch/powerpc/kernel/signal.c
===================================================================
--- linux-cell.orig/arch/powerpc/kernel/signal.c	2007-06-04 11:44:24.000000000 +1000
+++ linux-cell/arch/powerpc/kernel/signal.c	2007-06-04 11:44:34.000000000 +1000
@@ -9,7 +9,6 @@
  * this archive for more details.
  */
 
-#include <linux/freezer.h>
 #include <linux/ptrace.h>
 #include <linux/signal.h>
 
@@ -100,14 +99,6 @@ int do_signal(sigset_t *oldset, struct p
 	int ret;
 	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))
 		oldset = &current->saved_sigmask;
 	else if (!oldset)
@@ -115,9 +106,6 @@ int do_signal(sigset_t *oldset, struct p
 
 	signr = get_signal_to_deliver(&info, &ka, regs, NULL);
 
-#ifdef CONFIG_PPC32
-no_signal:
-#endif
 	/* Is there any syscall restart business here ? */
 	check_syscall_restart(regs, &ka, signr > 0);