aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-04-01 15:33:22 +0200
committerAvi Kivity <avi@redhat.com>2010-05-17 12:17:25 +0300
commit306d071f179c28c97688cb91c8585fd5ab840a9e (patch)
tree9897caf13fd06d47019333afdebb1afafdc891c5 /arch/powerpc
parent287d5611fab5a42214d028b6f67fbd2ee977dcf2 (diff)
downloadkernel_samsung_smdk4412-306d071f179c28c97688cb91c8585fd5ab840a9e.zip
kernel_samsung_smdk4412-306d071f179c28c97688cb91c8585fd5ab840a9e.tar.gz
kernel_samsung_smdk4412-306d071f179c28c97688cb91c8585fd5ab840a9e.tar.bz2
KVM: PPC: Don't export Book3S symbols on BookE
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/ppc_ksyms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c
index 58fdb3a..bc9f39d 100644
--- a/arch/powerpc/kernel/ppc_ksyms.c
+++ b/arch/powerpc/kernel/ppc_ksyms.c
@@ -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);