aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-02-19 11:00:27 +0100
committerAvi Kivity <avi@redhat.com>2010-04-25 12:34:35 +0300
commit5aa9e2f43aedff25e735b4c44e0f0f6e5d1a40ae (patch)
treed115cba500bb0953970af677f8f19df6d9db80ff /arch/powerpc/include/asm
parentKVM: SVM: Remove newlines from nested trace points (diff)
downloadlinux-dev-5aa9e2f43aedff25e735b4c44e0f0f6e5d1a40ae.tar.xz
linux-dev-5aa9e2f43aedff25e735b4c44e0f0f6e5d1a40ae.zip
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')
-rw-r--r--arch/powerpc/include/asm/kvm_host.h5
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;