]> 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, 28 Sep 2012 06:08:06 +0000 (16:08 +1000)
commit650b1b89699ba34668d7eb2fc70194c099ccd459
tree82237871b86dd20f775582b756f5a068d2d08fcf
parent64c352e3585fef75ff0478941d97cd91b4d23c06
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