diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2015-02-12 18:09:29 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-02-18 09:37:14 +0100 |
commit | 9d77309c9fedca33525cae820b9eff6f35c795f4 (patch) | |
tree | 478cceecd81a9bb7dd00f6e00f971003732f48c6 /qemu-nbd.c | |
parent | b4ecbf8071022a2042624baaff78cab2bf7e94af (diff) | |
download | qemu-9d77309c9fedca33525cae820b9eff6f35c795f4.zip qemu-9d77309c9fedca33525cae820b9eff6f35c795f4.tar.gz qemu-9d77309c9fedca33525cae820b9eff6f35c795f4.tar.bz2 |
s390x/mmu: Clean up mmu_translate_asc()
We can get rid of the switch(asc) in mmu_translate_asc() by simply
selecting the right control register ASCE in the mmu_translate()
function already.
This patch is based on an original patch/idea by Ralf Hoppe.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions