* [PATCH] kvm: use correct tlbs dirty type in cmpxchg
@ 2012-03-04 5:13 Alex Shi
2012-03-07 10:25 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Alex Shi @ 2012-03-04 5:13 UTC (permalink / raw)
To: avi; +Cc: kvm
Using 'int' type is not suitable for a 'long' object. So, correct it.
Signed-off-by: Alex Shi <alex.shi@intel.com>
---
virt/kvm/kvm_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index a91f980..55ced69 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -203,7 +203,7 @@ static bool make_all_cpus_request(struct kvm *kvm, unsigned int req)
void kvm_flush_remote_tlbs(struct kvm *kvm)
{
- int dirty_count = kvm->tlbs_dirty;
+ long dirty_count = kvm->tlbs_dirty;
smp_mb();
if (make_all_cpus_request(kvm, KVM_REQ_TLB_FLUSH))
--
1.6.3.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kvm: use correct tlbs dirty type in cmpxchg
2012-03-04 5:13 [PATCH] kvm: use correct tlbs dirty type in cmpxchg Alex Shi
@ 2012-03-07 10:25 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2012-03-07 10:25 UTC (permalink / raw)
To: Alex Shi; +Cc: kvm
On 03/04/2012 07:13 AM, Alex Shi wrote:
> Using 'int' type is not suitable for a 'long' object. So, correct it.
>
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-07 10:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-04 5:13 [PATCH] kvm: use correct tlbs dirty type in cmpxchg Alex Shi
2012-03-07 10:25 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).