[PATCH] PPC_PREP: remove unneeded exports
authorAdrian Bunk <bunk@stusta.de>
Sun, 13 Nov 2005 01:26:09 +0000 (02:26 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:48:47 +0000 (14:48 +1100)
This patch removes the EXPORT_SYMBOL'ed but completely unused variable
ucSystemType and removes the unneeded EXPORT_SYMBOL(_prep_type).

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ppc_ksyms.c
arch/ppc/kernel/ppc_ksyms.c
arch/ppc/platforms/prep_setup.c
include/asm-powerpc/processor.h

index 94db25708456857995cbe42c1a41a1936442617f..b2758148a0de54461b04d735e8fb347ec1884b55 100644 (file)
@@ -76,11 +76,6 @@ EXPORT_SYMBOL(single_step_exception);
 EXPORT_SYMBOL(sys_sigreturn);
 #endif
 
-#if defined(CONFIG_PPC_PREP)
-EXPORT_SYMBOL(_prep_type);
-EXPORT_SYMBOL(ucSystemType);
-#endif
-
 EXPORT_SYMBOL(strcpy);
 EXPORT_SYMBOL(strncpy);
 EXPORT_SYMBOL(strcat);
index bb6a5c6a64bee18e1a94ec0968aada425bbd7aa1..28f1082e5040f4aa6ea9573a477f1cc2411199a0 100644 (file)
@@ -82,10 +82,6 @@ EXPORT_SYMBOL(ppc_n_lost_interrupts);
 EXPORT_SYMBOL(ISA_DMA_THRESHOLD);
 EXPORT_SYMBOL(DMA_MODE_READ);
 EXPORT_SYMBOL(DMA_MODE_WRITE);
-#if defined(CONFIG_PPC_PREP)
-EXPORT_SYMBOL(_prep_type);
-EXPORT_SYMBOL(ucSystemType);
-#endif
 
 #if !defined(__INLINE_BITOPS)
 EXPORT_SYMBOL(set_bit);
index 4415748071dc8836faaa6f4e6752f4cb12e865ca..a6a188910a1ac8a64519396cb34963b5d1b7c6e9 100644 (file)
@@ -72,7 +72,6 @@
 
 TODC_ALLOC();
 
-unsigned char ucSystemType;
 unsigned char ucBoardRev;
 unsigned char ucBoardRevMaj, ucBoardRevMin;
 
index d12382d292d421931234e1d59007e4f070bf376b..f3db98454c4dcc4a313eaeb889ed942ff7b058a2 100644 (file)
@@ -68,7 +68,6 @@ extern int _chrp_type;
  * vendor. Board revision is also made available. This will be moved
  * elsewhere soon
  */
-extern unsigned char ucSystemType;
 extern unsigned char ucBoardRev;
 extern unsigned char ucBoardRevMaj, ucBoardRevMin;