diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2014-10-23 09:58:56 +0200 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2014-11-05 16:35:55 +0100 |
commit | f0d4dc18ce398e166c4b186bff325e755c22db2f (patch) | |
tree | 4654f23771e6e8204ed7c9615191b3a6c782b171 /target-s390x | |
parent | 80765f0734e08fe4d52e9be10e0cfb47b3cf43e3 (diff) |
s390x/kvm: Fix warning from sparse
When running "sparse" with the s390x kvm.c code, it complains that
"constant 0x00400f1d40330000 is so big it is long" - let's fix this
by appending a proper suffix.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'target-s390x')
-rw-r--r-- | target-s390x/kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 690cb7198a..d247471119 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -1272,7 +1272,7 @@ void kvm_s390_crw_mchk(void) struct kvm_s390_irq irq = { .type = KVM_S390_MCHK, .u.mchk.cr14 = 1 << 28, - .u.mchk.mcic = 0x00400f1d40330000, + .u.mchk.mcic = 0x00400f1d40330000ULL, }; kvm_s390_floating_interrupt(&irq); } |