]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm: replace test_and_set_bit_le() in mark_page_dirty_in_slot() with set_bit_le()
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Fri, 28 Sep 2012 00:20:22 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Oct 2012 04:01:24 +0000 (14:01 +1000)
commit726711b573e406cbbfcc77a81b2c00805f51f2ff
treef5d57fd4534434a32b8eff0acbec4d2ca2cf1f37
parent271bed8fd64e0a06d2b6062dbcf6baf5f8d7c947
kvm: replace test_and_set_bit_le() in mark_page_dirty_in_slot() with set_bit_le()

Now that we have defined generic set_bit_le() we do not need to use
test_and_set_bit_le() for atomically setting a bit.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Cc: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
virt/kvm/kvm_main.c