summaryrefslogtreecommitdiffstats
path: root/target-s390x/cpu.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2015-02-12 18:09:29 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2015-02-18 09:37:14 +0100
commit9d77309c9fedca33525cae820b9eff6f35c795f4 (patch)
tree478cceecd81a9bb7dd00f6e00f971003732f48c6 /target-s390x/cpu.h
parentb4ecbf8071022a2042624baaff78cab2bf7e94af (diff)
downloadhqemu-9d77309c9fedca33525cae820b9eff6f35c795f4.zip
hqemu-9d77309c9fedca33525cae820b9eff6f35c795f4.tar.gz
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 'target-s390x/cpu.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud