diff options
author | Alexander Graf <agraf@suse.de> | 2010-02-19 11:00:40 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-04-25 11:35:15 +0200 |
commit | 963cf3dc6342fe60bb78c615884537621abca0bc (patch) | |
tree | f99b26e7e6eee2235d8fabe448c8bbc6c0a8f24f /arch/powerpc/kernel/ppc_ksyms.c | |
parent | KVM: PPC: Make ext giveup non-static (diff) | |
download | linux-963cf3dc6342fe60bb78c615884537621abca0bc.tar.xz linux-963cf3dc6342fe60bb78c615884537621abca0bc.zip |
KVM: PPC: Add helpers to call FPU instructions
To emulate paired single instructions, we need to be able to call FPU
operations from within the kernel. Since we don't want gcc to spill
arbitrary FPU code everywhere, we tell it to use a soft fpu.
Since we know we can really call the FPU in safe areas, let's also add
some calls that we can later use to actually execute real world FPU
operations on the host's FPU.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kernel/ppc_ksyms.c')
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index ab3e392ac63c..58fdb3a784de 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c @@ -101,6 +101,8 @@ EXPORT_SYMBOL(pci_dram_offset); EXPORT_SYMBOL(start_thread); EXPORT_SYMBOL(kernel_thread); +EXPORT_SYMBOL_GPL(cvt_df); +EXPORT_SYMBOL_GPL(cvt_fd); EXPORT_SYMBOL(giveup_fpu); #ifdef CONFIG_ALTIVEC EXPORT_SYMBOL(giveup_altivec); |