From: Takuya Yoshikawa Date: Sun, 1 May 2011 05:33:07 +0000 (+0900) Subject: KVM: MMU: Use ptep_user for cmpxchg_gpte() X-Git-Tag: v3.0-rc1~350^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8cfbb555eb3632bf3dcbe1a591c1f4d0c28681c;p=pandora-kernel.git 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 Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed