summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorTakuya Yoshikawa2011-05-01 07:33:07 +0200
committerAvi Kivity2011-05-22 14:48:14 +0200
commitc8cfbb555eb3632bf3dcbe1a591c1f4d0c28681c (patch)
tree4d7b9e26a8f1eee7c598bb132a6cd24e3aa4b211 /arch/powerpc
parentKVM: Fix kvm mmu_notifier initialization order (diff)
downloadkernel-qcow2-linux-c8cfbb555eb3632bf3dcbe1a591c1f4d0c28681c.tar.gz
kernel-qcow2-linux-c8cfbb555eb3632bf3dcbe1a591c1f4d0c28681c.tar.xz
kernel-qcow2-linux-c8cfbb555eb3632bf3dcbe1a591c1f4d0c28681c.zip
KVM: MMU: Use ptep_user for cmpxchg_gpte()
The address of the gpte was already calculated and stored in ptep_user before entering cmpxchg_gpte(). This patch makes cmpxchg_gpte() to use that to make it clear that we are using the same address during walk_addr_generic(). Note that the unlikely annotations are used to show that the conditions are something unusual rather than for performance. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions