From: Alexander Graf Date: Fri, 19 Feb 2010 10:00:47 +0000 (+0100) Subject: KVM: PPC: Simplify kvmppc_load_up_(FPU|VMX|VSX) X-Git-Tag: v2.6.35-rc1~436^2~234 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=964b6411af10fbddc827fdd3887c49f7f5d2bfd3;p=pandora-kernel.git KVM: PPC: Simplify kvmppc_load_up_(FPU|VMX|VSX) We don't need as complex code. I had some thinkos while writing it, figuring I needed to support PPC32 paths on PPC64 which would have required DR=0, but everything just runs fine with DR=1. So let's make the functions simple C call wrappers that reserve some space on the stack for the respective functions to clobber. Fixes out-of-RMA-access (and thus guest FPU loading) on the PS3. Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- Reading git-diff-tree failed