summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/Makefile
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-02-19 10:00:40 (GMT)
committerAvi Kivity <avi@redhat.com>2010-04-25 09:35:15 (GMT)
commit963cf3dc6342fe60bb78c615884537621abca0bc (patch)
treef99b26e7e6eee2235d8fabe448c8bbc6c0a8f24f /arch/powerpc/kvm/Makefile
parentaba3bd7ffe13fad6c4483b49686ad454a4cb409b (diff)
downloadlinux-fsl-qoriq-963cf3dc6342fe60bb78c615884537621abca0bc.tar.xz
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/kvm/Makefile')
-rw-r--r--arch/powerpc/kvm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/Makefile b/arch/powerpc/kvm/Makefile
index 56484d6..e575cfd 100644
--- a/arch/powerpc/kvm/Makefile
+++ b/arch/powerpc/kvm/Makefile
@@ -40,6 +40,7 @@ kvm-objs-$(CONFIG_KVM_E500) := $(kvm-e500-objs)
kvm-book3s_64-objs := \
$(common-objs-y) \
+ fpu.o \
book3s.o \
book3s_64_emulate.o \
book3s_64_interrupts.o \