diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-07-25 13:51:00 (GMT) |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-07-27 08:35:57 (GMT) |
commit | 0096369daa9eaaef1a309e5d8167b023af3f998d (patch) | |
tree | ccd77da043cbdfa63907f54e10f07ed3452ba338 /arch/s390/kvm/sigp.c | |
parent | 99e65c92f2bbf84f43766a8bf701e36817d62822 (diff) | |
download | linux-0096369daa9eaaef1a309e5d8167b023af3f998d.tar.xz |
KVM: s390: Change guestaddr type in gaccess
All registers are unsigned long types. This patch changes all occurences
of guestaddr in gaccess from u64 to unsigned long.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/s390/kvm/sigp.c')
-rw-r--r-- | arch/s390/kvm/sigp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/s390/kvm/sigp.c b/arch/s390/kvm/sigp.c index 5a55611..1703926 100644 --- a/arch/s390/kvm/sigp.c +++ b/arch/s390/kvm/sigp.c @@ -43,7 +43,8 @@ #define SIGP_STAT_RECEIVER_CHECK 0x00000001UL -static int __sigp_sense(struct kvm_vcpu *vcpu, u16 cpu_addr, u64 *reg) +static int __sigp_sense(struct kvm_vcpu *vcpu, u16 cpu_addr, + unsigned long *reg) { struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; int rc; @@ -167,7 +168,7 @@ static int __sigp_set_arch(struct kvm_vcpu *vcpu, u32 parameter) } static int __sigp_set_prefix(struct kvm_vcpu *vcpu, u16 cpu_addr, u32 address, - u64 *reg) + unsigned long *reg) { struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; struct kvm_s390_local_interrupt *li; |