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 bc9f39d2598bcf7df0e26c95eaa2f5054e005ca9..3b4dcc82a4c1f43ab1f26a29506591e0d4aa4369 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