Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[S390] Use unsigned long long for u64 on 64bit.

As requested by Andrew. Same as what sparc did.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
33e19115 19cdd08b

+6 -10
+1 -5
arch/s390/include/asm/types.h
··· 9 9 #ifndef _S390_TYPES_H 10 10 #define _S390_TYPES_H 11 11 12 - #ifndef __s390x__ 13 - # include <asm-generic/int-ll64.h> 14 - #else 15 - # include <asm-generic/int-l64.h> 16 - #endif 12 + #include <asm-generic/int-ll64.h> 17 13 18 14 #ifndef __ASSEMBLY__ 19 15
+1 -1
arch/s390/kvm/diag.c
··· 47 47 vcpu->run->s390_reset_flags |= KVM_S390_RESET_IPL; 48 48 vcpu->run->s390_reset_flags |= KVM_S390_RESET_CPU_INIT; 49 49 vcpu->run->exit_reason = KVM_EXIT_S390_RESET; 50 - VCPU_EVENT(vcpu, 3, "requesting userspace resets %lx", 50 + VCPU_EVENT(vcpu, 3, "requesting userspace resets %llx", 51 51 vcpu->run->s390_reset_flags); 52 52 return -EREMOTE; 53 53 }
+3 -3
arch/s390/kvm/interrupt.c
··· 160 160 break; 161 161 162 162 case KVM_S390_INT_VIRTIO: 163 - VCPU_EVENT(vcpu, 4, "interrupt: virtio parm:%x,parm64:%lx", 163 + VCPU_EVENT(vcpu, 4, "interrupt: virtio parm:%x,parm64:%llx", 164 164 inti->ext.ext_params, inti->ext.ext_params2); 165 165 vcpu->stat.deliver_virtio_interrupt++; 166 166 rc = put_guest_u16(vcpu, __LC_EXT_INT_CODE, 0x2603); ··· 360 360 vcpu->arch.ckc_timer.expires = jiffies + sltime; 361 361 362 362 add_timer(&vcpu->arch.ckc_timer); 363 - VCPU_EVENT(vcpu, 5, "enabled wait timer:%lx jiffies", sltime); 363 + VCPU_EVENT(vcpu, 5, "enabled wait timer:%llx jiffies", sltime); 364 364 no_timer: 365 365 spin_lock_bh(&vcpu->arch.local_int.float_int->lock); 366 366 spin_lock_bh(&vcpu->arch.local_int.lock); ··· 491 491 492 492 switch (s390int->type) { 493 493 case KVM_S390_INT_VIRTIO: 494 - VM_EVENT(kvm, 5, "inject: virtio parm:%x,parm64:%lx", 494 + VM_EVENT(kvm, 5, "inject: virtio parm:%x,parm64:%llx", 495 495 s390int->parm, s390int->parm64); 496 496 inti->type = s390int->type; 497 497 inti->ext.ext_params = s390int->parm;
+1 -1
arch/s390/kvm/priv.c
··· 118 118 goto out; 119 119 } 120 120 121 - VCPU_EVENT(vcpu, 5, "storing cpu address to %lx", useraddr); 121 + VCPU_EVENT(vcpu, 5, "storing cpu address to %llx", useraddr); 122 122 out: 123 123 return 0; 124 124 }