summaryrefslogtreecommitdiffstats
path: root/include/exec/user
diff options
context:
space:
mode:
authorDavid Gibson2016-07-05 04:31:57 +0200
committerDavid Gibson2016-07-05 06:31:08 +0200
commit949868633f0454715af1781c0f377413b6ab000e (patch)
tree2d266d0c493ba7d6156f8dcb1fbc5ac942a19308 /include/exec/user
parenttarget-ppc: Simplify HPTE matching (diff)
downloadqemu-949868633f0454715af1781c0f377413b6ab000e.tar.gz
qemu-949868633f0454715af1781c0f377413b6ab000e.tar.xz
qemu-949868633f0454715af1781c0f377413b6ab000e.zip
target-ppc: Return page shift from PTEG search
ppc_hash64_pteg_search() now decodes a PTEs page size encoding, which it didn't previously do. This means we're now double decoding the page size because we check it int he fault path after ppc64_hash64_htab_lookup() returns. To avoid this duplication have ppc_hash64_pteg_search() and ppc_hash64_htab_lookup() return the page size from the PTE and use that in the callers instead of decoding again. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions