]> 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, 21 Sep 2012 01:02:06 +0000 (11:02 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Sep 2012 08:46:36 +0000 (18:46 +1000)
commit5d3846edbd5a583317b5becf474ef7743890e198
tree5b75c6133198beca530528e3caa7c2966fba7bd8
parentd8ce8af30cd9a0ad4ab27a54e3e77b109d022d4d
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