]> 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>
Fri, 21 Sep 2012 05:59:12 +0000 (15:59 +1000)
commit463cbc11ee604a8677508491f181d5ea15e0fe48
tree767de527edb77e92c9b816949968a1e79d5b02ab
parent5f02883c889e18716cc2814c040038bb89545e91
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