Skip to content

Commit 306d071

Browse files
agrafavikivity
authored andcommitted
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 <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
1 parent 287d561 commit 306d071

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/powerpc/kernel/ppc_ksyms.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ EXPORT_SYMBOL(pci_dram_offset);
101101
EXPORT_SYMBOL(start_thread);
102102
EXPORT_SYMBOL(kernel_thread);
103103

104+
#ifndef CONFIG_BOOKE
104105
EXPORT_SYMBOL_GPL(cvt_df);
105106
EXPORT_SYMBOL_GPL(cvt_fd);
107+
#endif
106108
EXPORT_SYMBOL(giveup_fpu);
107109
#ifdef CONFIG_ALTIVEC
108110
EXPORT_SYMBOL(giveup_altivec);

0 commit comments

Comments
 (0)