summaryrefslogtreecommitdiffstats
path: root/page_cache.c
diff options
context:
space:
mode:
authorDavid Gibson2016-03-09 01:58:33 +0100
committerDavid Gibson2016-03-15 23:55:05 +0100
commita7a00a729a98e41501904dd26e8535571b3e9579 (patch)
tree10d1bcbb70b5b32fc7e38519e5ce0af44c6d210d /page_cache.c
parentspapr_pci: fix multifunction hotplug (diff)
downloadqemu-a7a00a729a98e41501904dd26e8535571b3e9579.tar.gz
qemu-a7a00a729a98e41501904dd26e8535571b3e9579.tar.xz
qemu-a7a00a729a98e41501904dd26e8535571b3e9579.zip
target-ppc: Split out SREGS get/put functions
Currently the getting and setting of Power MMU registers (sregs) take up large inline chunks of the kvm_arch_get_registers() and kvm_arch_put_registers() functions. Especially since there are two variants (for Book-E and Book-S CPUs), only one of which will be used in practice, this is pretty hard to read. This patch splits these out into helper functions for clarity. No functional change is expected. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Diffstat (limited to 'page_cache.c')
0 files changed, 0 insertions, 0 deletions