diff options
Diffstat (limited to 'arch/s390/kvm/sigp.c')
-rw-r--r-- | arch/s390/kvm/sigp.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/arch/s390/kvm/sigp.c b/arch/s390/kvm/sigp.c index 0a236acfb5f6..170392687ce0 100644 --- a/arch/s390/kvm/sigp.c +++ b/arch/s390/kvm/sigp.c | |||
@@ -43,9 +43,10 @@ | |||
43 | #define SIGP_STAT_RECEIVER_CHECK 0x00000001UL | 43 | #define SIGP_STAT_RECEIVER_CHECK 0x00000001UL |
44 | 44 | ||
45 | 45 | ||
46 | static int __sigp_sense(struct kvm_vcpu *vcpu, u16 cpu_addr, u64 *reg) | 46 | static int __sigp_sense(struct kvm_vcpu *vcpu, u16 cpu_addr, |
47 | unsigned long *reg) | ||
47 | { | 48 | { |
48 | struct float_interrupt *fi = &vcpu->kvm->arch.float_int; | 49 | struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; |
49 | int rc; | 50 | int rc; |
50 | 51 | ||
51 | if (cpu_addr >= KVM_MAX_VCPUS) | 52 | if (cpu_addr >= KVM_MAX_VCPUS) |
@@ -71,9 +72,9 @@ static int __sigp_sense(struct kvm_vcpu *vcpu, u16 cpu_addr, u64 *reg) | |||
71 | 72 | ||
72 | static int __sigp_emergency(struct kvm_vcpu *vcpu, u16 cpu_addr) | 73 | static int __sigp_emergency(struct kvm_vcpu *vcpu, u16 cpu_addr) |
73 | { | 74 | { |
74 | struct float_interrupt *fi = &vcpu->kvm->arch.float_int; | 75 | struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; |
75 | struct local_interrupt *li; | 76 | struct kvm_s390_local_interrupt *li; |
76 | struct interrupt_info *inti; | 77 | struct kvm_s390_interrupt_info *inti; |
77 | int rc; | 78 | int rc; |
78 | 79 | ||
79 | if (cpu_addr >= KVM_MAX_VCPUS) | 80 | if (cpu_addr >= KVM_MAX_VCPUS) |
@@ -108,9 +109,9 @@ unlock: | |||
108 | 109 | ||
109 | static int __sigp_stop(struct kvm_vcpu *vcpu, u16 cpu_addr, int store) | 110 | static int __sigp_stop(struct kvm_vcpu *vcpu, u16 cpu_addr, int store) |
110 | { | 111 | { |
111 | struct float_interrupt *fi = &vcpu->kvm->arch.float_int; | 112 | struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; |
112 | struct local_interrupt *li; | 113 | struct kvm_s390_local_interrupt *li; |
113 | struct interrupt_info *inti; | 114 | struct kvm_s390_interrupt_info *inti; |
114 | int rc; | 115 | int rc; |
115 | 116 | ||
116 | if (cpu_addr >= KVM_MAX_VCPUS) | 117 | if (cpu_addr >= KVM_MAX_VCPUS) |
@@ -167,11 +168,11 @@ static int __sigp_set_arch(struct kvm_vcpu *vcpu, u32 parameter) | |||
167 | } | 168 | } |
168 | 169 | ||
169 | static int __sigp_set_prefix(struct kvm_vcpu *vcpu, u16 cpu_addr, u32 address, | 170 | static int __sigp_set_prefix(struct kvm_vcpu *vcpu, u16 cpu_addr, u32 address, |
170 | u64 *reg) | 171 | unsigned long *reg) |
171 | { | 172 | { |
172 | struct float_interrupt *fi = &vcpu->kvm->arch.float_int; | 173 | struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; |
173 | struct local_interrupt *li; | 174 | struct kvm_s390_local_interrupt *li; |
174 | struct interrupt_info *inti; | 175 | struct kvm_s390_interrupt_info *inti; |
175 | int rc; | 176 | int rc; |
176 | u8 tmp; | 177 | u8 tmp; |
177 | 178 | ||