diff options
author | Alexander Graf <agraf@suse.de> | 2010-02-19 13:00:27 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-04-25 13:34:35 +0400 |
commit | 5aa9e2f43aedff25e735b4c44e0f0f6e5d1a40ae (patch) | |
tree | d115cba500bb0953970af677f8f19df6d9db80ff /arch/powerpc/include/asm/kvm_host.h | |
parent | 052ce6211c4f7309988068fccdb7204c721871df (diff) | |
download | linux-5aa9e2f43aedff25e735b4c44e0f0f6e5d1a40ae.tar.xz |
KVM: PPC: Add QPR registers
The Gekko has GPRs, SPRs and FPRs like normal PowerPC codes, but
it also has QPRs which are basically single precision only FPU registers
that get used when in paired single mode.
The following patches depend on them being around, so let's add the
definitions early.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_host.h')
-rw-r--r-- | arch/powerpc/include/asm/kvm_host.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index 5e5bae7e152f..4b14dcd4874b 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h @@ -186,6 +186,11 @@ struct kvm_vcpu_arch { u64 vsr[32]; #endif +#ifdef CONFIG_PPC_BOOK3S + /* For Gekko paired singles */ + u32 qpr[32]; +#endif + ulong pc; ulong ctr; ulong lr; |