From: Avi Kivity Date: Sun, 9 Dec 2007 14:15:46 +0000 (+0200) Subject: KVM: MMU: Simplify calculation of pte access X-Git-Tag: v2.6.25-rc1~1138^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe135d2ceb3d7dc08151b3cbad96565d02cc8676;p=pandora-kernel.git KVM: MMU: Simplify calculation of pte access The nx bit is awkwardly placed in the 63rd bit position; furthermore it has a reversed meaning compared to the other bits, which means we can't use a bitwise and to calculate compounded access masks. So, we simplify things by creating a new 3-bit exec/write/user access word, and doing all calculations in that. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed