aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm/arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kvm/arm.c')
-rw-r--r--arch/arm/kvm/arm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
index 3c7c50a6a286..f0530499dec6 100644
--- a/arch/arm/kvm/arm.c
+++ b/arch/arm/kvm/arm.c
@@ -49,7 +49,7 @@ __asm__(".arch_extension virt");
49#endif 49#endif
50 50
51static DEFINE_PER_CPU(unsigned long, kvm_arm_hyp_stack_page); 51static DEFINE_PER_CPU(unsigned long, kvm_arm_hyp_stack_page);
52static struct vfp_hard_struct __percpu *kvm_host_vfp_state; 52static kvm_kernel_vfp_t __percpu *kvm_host_vfp_state;
53static unsigned long hyp_default_vectors; 53static unsigned long hyp_default_vectors;
54 54
55/* Per-CPU variable containing the currently running vcpu. */ 55/* Per-CPU variable containing the currently running vcpu. */
@@ -908,7 +908,7 @@ static int init_hyp_mode(void)
908 /* 908 /*
909 * Map the host VFP structures 909 * Map the host VFP structures
910 */ 910 */
911 kvm_host_vfp_state = alloc_percpu(struct vfp_hard_struct); 911 kvm_host_vfp_state = alloc_percpu(kvm_kernel_vfp_t);
912 if (!kvm_host_vfp_state) { 912 if (!kvm_host_vfp_state) {
913 err = -ENOMEM; 913 err = -ENOMEM;
914 kvm_err("Cannot allocate host VFP state\n"); 914 kvm_err("Cannot allocate host VFP state\n");
@@ -916,7 +916,7 @@ static int init_hyp_mode(void)
916 } 916 }
917 917
918 for_each_possible_cpu(cpu) { 918 for_each_possible_cpu(cpu) {
919 struct vfp_hard_struct *vfp; 919 kvm_kernel_vfp_t *vfp;
920 920
921 vfp = per_cpu_ptr(kvm_host_vfp_state, cpu); 921 vfp = per_cpu_ptr(kvm_host_vfp_state, cpu);
922 err = create_hyp_mappings(vfp, vfp + 1); 922 err = create_hyp_mappings(vfp, vfp + 1);