]> git.proxmox.com Git - qemu.git/commit - target-ppc/mmu-hash64.c
mmu-hash64: Clean up ppc_hash64_htab_lookup()
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Mar 2013 00:31:31 +0000 (00:31 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 22 Mar 2013 14:28:50 +0000 (15:28 +0100)
commit181488987671841407c52b6f958650f68b66f3f4
tree0622e96faab889bcfbde5c29242c30da0ec19421
parent7f3bdc2d8e17999a26ac0f6649caef92fedfc1c0
mmu-hash64: Clean up ppc_hash64_htab_lookup()

This patch makes a general cleanup of the address mangling logic in
ppc_hash64_htab_lookup().  In particular it now avoids repeatedly switching
on the segment size.  The lack of SLB and multiple segment sizes on 32-bit
means an analogous cleanup is not needed there.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/mmu-hash64.c