KVM: PPC: Make fpscr 64-bit
authorAlexander Graf <agraf@suse.de>
Fri, 19 Feb 2010 10:00:28 +0000 (11:00 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:34:38 +0000 (12:34 +0300)
Modern PowerPCs have a 64 bit wide FPSCR register. Let's accomodate for that
and make it 64 bits in our vcpu struct too.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_host.h

index 4b14dcd4874b05092a430ea8004817fb68c6d9d7..fb87dcf418bf91ba01bde194bbfe8036155f6c51 100644 (file)
@@ -175,7 +175,7 @@ struct kvm_vcpu_arch {
        ulong gpr[32];
 
        u64 fpr[32];
-       u32 fpscr;
+       u64 fpscr;
 
 #ifdef CONFIG_ALTIVEC
        vector128 vr[32];