powerpc: Don't export cvt_fd & _df when CONFIG_PPC_FPU is not set
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 31 May 2010 01:49:00 +0000 (11:49 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 31 May 2010 01:51:54 +0000 (11:51 +1000)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/ppc_ksyms.c

index bc9f39d..3b4dcc8 100644 (file)
@@ -101,7 +101,7 @@ EXPORT_SYMBOL(pci_dram_offset);
 EXPORT_SYMBOL(start_thread);
 EXPORT_SYMBOL(kernel_thread);
 
-#ifndef CONFIG_BOOKE
+#ifdef CONFIG_PPC_FPU
 EXPORT_SYMBOL_GPL(cvt_df);
 EXPORT_SYMBOL_GPL(cvt_fd);
 #endif