]> git.karo-electronics.de Git - linux-beck.git/commitdiff
KVM: PPC: Don't export Book3S symbols on BookE
authorAlexander Graf <agraf@suse.de>
Thu, 1 Apr 2010 13:33:22 +0000 (15:33 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:25 +0000 (12:17 +0300)
Book3S knows how to convert floats to doubles and vice versa. BookE doesn't.
So let's make sure we don't export them on BookE.

This fixes a link error on BookE with CONFIG_KVM=y.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kernel/ppc_ksyms.c

index 58fdb3a784de2ff8ae3fe81babfb3aabe751631d..bc9f39d2598bcf7df0e26c95eaa2f5054e005ca9 100644 (file)
@@ -101,8 +101,10 @@ EXPORT_SYMBOL(pci_dram_offset);
 EXPORT_SYMBOL(start_thread);
 EXPORT_SYMBOL(kernel_thread);
 
+#ifndef CONFIG_BOOKE
 EXPORT_SYMBOL_GPL(cvt_df);
 EXPORT_SYMBOL_GPL(cvt_fd);
+#endif
 EXPORT_SYMBOL(giveup_fpu);
 #ifdef CONFIG_ALTIVEC
 EXPORT_SYMBOL(giveup_altivec);