]> git.proxmox.com Git - mirror_qemu.git/commit - target/ppc/mmu-hash64.c
mmu-hash*: Clean up PTE flags update
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Mar 2013 00:31:42 +0000 (00:31 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 22 Mar 2013 14:28:52 +0000 (15:28 +0100)
commitb344074642e58fc83635c38105f38b85fc086666
treeb337d95844b19839e37d7dba706657e92731b2e3
parent57d0a39d98b0d0e4712e736084667bcb5aed3474
mmu-hash*: Clean up PTE flags update

Currently the ppc_hash{32,64}_pte_update_flags() helper functions update a
PTE's referenced and changed bits as necessary to reflect the access.  It
is somewhat long winded, though.  This patch open codes them in their
(single) callers, in a simpler way.

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