diff options
author | Avi Kivity <avi@qumranet.com> | 2007-12-09 16:15:46 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 17:53:20 +0200 |
commit | fe135d2ceb3d7dc08151b3cbad96565d02cc8676 (patch) | |
tree | 7dec07ec0a32a53f003551802cb73c4ce3373527 /drivers/ssb/driver_mipscore.c | |
parent | b3e4e63fd9ee8cd5d9047b89e0d463d5c48ee5b5 (diff) |
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 <avi@qumranet.com>
Diffstat (limited to 'drivers/ssb/driver_mipscore.c')
0 files changed, 0 insertions, 0 deletions