Subject: [PATCH] powerpc: remove unused do_signal export

From: Christoph Hellwig <[email-masked]>
Date: Tue, 29 May 2007 13:49:01 +0200

do_signal is never used in modular code (obviously), and not other
architecture exports it either.

Signed-off-by: Christoph Hellwig <[email-masked]>

Index: linux-2.6/arch/powerpc/kernel/ppc_ksyms.c
===================================================================
--- linux-2.6.orig/arch/powerpc/kernel/ppc_ksyms.c	2007-05-29 12:34:22.000000000 +0200
+++ linux-2.6/arch/powerpc/kernel/ppc_ksyms.c	2007-05-29 12:34:30.000000000 +0200
@@ -67,7 +67,6 @@ EXPORT_SYMBOL(ISA_DMA_THRESHOLD);
 EXPORT_SYMBOL(DMA_MODE_READ);
 EXPORT_SYMBOL(DMA_MODE_WRITE);
 
-EXPORT_SYMBOL(do_signal);
 EXPORT_SYMBOL(transfer_to_handler);
 EXPORT_SYMBOL(do_IRQ);
 EXPORT_SYMBOL(machine_check_exception);
Index: linux-2.6/arch/powerpc/kernel/signal_64.c
===================================================================
--- linux-2.6.orig/arch/powerpc/kernel/signal_64.c	2007-05-29 12:34:46.000000000 +0200
+++ linux-2.6/arch/powerpc/kernel/signal_64.c	2007-05-29 12:34:54.000000000 +0200
@@ -568,4 +568,3 @@ int do_signal(sigset_t *oldset, struct p
 
 	return 0;
 }
-EXPORT_SYMBOL(do_signal);
Index: linux-2.6/arch/ppc/kernel/ppc_ksyms.c
===================================================================
--- linux-2.6.orig/arch/ppc/kernel/ppc_ksyms.c	2007-05-29 12:34:38.000000000 +0200
+++ linux-2.6/arch/ppc/kernel/ppc_ksyms.c	2007-05-29 12:34:41.000000000 +0200
@@ -65,7 +65,6 @@ extern unsigned long mm_ptov (unsigned l
 
 EXPORT_SYMBOL(clear_pages);
 EXPORT_SYMBOL(clear_user_page);
-EXPORT_SYMBOL(do_signal);
 EXPORT_SYMBOL(transfer_to_handler);
 EXPORT_SYMBOL(do_IRQ);
 EXPORT_SYMBOL(machine_check_exception);