KVM: use correct tlbs dirty type in cmpxchg
authorAlex Shi <alex.shi@intel.com>
Sun, 4 Mar 2012 05:13:38 +0000 (13:13 +0800)
committerAvi Kivity <avi@redhat.com>
Thu, 8 Mar 2012 12:11:44 +0000 (14:11 +0200)
commitbec87d6e34de459a559fc326aa4e56bee4ba7423
tree7b45de0e58b9ff303e2f8ba0166378cef06cedc2
parent07700a94b00a4fcbbfb07d1b72dc112a0e036735
KVM: use correct tlbs dirty type in cmpxchg

Using 'int' type is not suitable for a 'long' object. So, correct it.

Signed-off-by: Alex Shi <alex.shi@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c