aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_fpu.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-08-01KVM: PPC: elide struct thread_struct instances from stackAndreas Schwab1-12/+15
Instead of instantiating a whole thread_struct on the stack use only the required parts of it. Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> Tested-by: Alexander Graf <agraf@suse.de> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2010-04-25KVM: PPC: Add helpers to call FPU instructionsAlexander Graf1-0/+85
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>