diff options
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | 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 7287bf5d1c9e..a91f980077d8 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -1543,7 +1543,7 @@ void mark_page_dirty_in_slot(struct kvm *kvm, struct kvm_memory_slot *memslot, | |||
1543 | if (memslot && memslot->dirty_bitmap) { | 1543 | if (memslot && memslot->dirty_bitmap) { |
1544 | unsigned long rel_gfn = gfn - memslot->base_gfn; | 1544 | unsigned long rel_gfn = gfn - memslot->base_gfn; |
1545 | 1545 | ||
1546 | if (!__test_and_set_bit_le(rel_gfn, memslot->dirty_bitmap)) | 1546 | if (!test_and_set_bit_le(rel_gfn, memslot->dirty_bitmap)) |
1547 | memslot->nr_dirty_pages++; | 1547 | memslot->nr_dirty_pages++; |
1548 | } | 1548 | } |
1549 | } | 1549 | } |