ARM: KVM: Move VFP registers to a CPU context structure
[deliverable/linux.git] / arch / arm / include / asm / kvm_host.h
index f1e86f1eb2e527e8417d182f7024e01d74f77c2b..b64ac8e4adaa250bdb48fac42928abe1c466b668 100644 (file)
@@ -88,9 +88,15 @@ struct kvm_vcpu_fault_info {
        u32 hyp_pc;             /* PC when exception was taken from Hyp mode */
 };
 
-typedef struct vfp_hard_struct kvm_cpu_context_t;
+struct kvm_cpu_context {
+       struct vfp_hard_struct vfp;
+};
+
+typedef struct kvm_cpu_context kvm_cpu_context_t;
 
 struct kvm_vcpu_arch {
+       struct kvm_cpu_context ctxt;
+
        struct kvm_regs regs;
 
        int target; /* Processor target */
@@ -111,9 +117,6 @@ struct kvm_vcpu_arch {
        /* Exception Information */
        struct kvm_vcpu_fault_info fault;
 
-       /* Floating point registers (VFP and Advanced SIMD/NEON) */
-       struct vfp_hard_struct vfp_guest;
-
        /* Host FP context */
        kvm_cpu_context_t *host_cpu_context;
 
This page took 0.025337 seconds and 5 git commands to generate.