PPC: Fix large page support in TCG
authorNathan Whitehorn <nwhitehorn@freebsd.org>
Fri, 9 Mar 2012 04:30:41 +0000 (04:30 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 15 Mar 2012 12:12:12 +0000 (13:12 +0100)
commiteb6ea4b22e89d4c6ed510c7cfcd33d15be92733b
tree8ae8a6e85caf0a14813ac9079fb999ead3ab481b
parent2e06214f22e080be4a8a17b0fae3b4c03b0aa3ea
PPC: Fix large page support in TCG

Fix large page support in TCG. The old code would overwrite the large page
table entry with the fake 4 KB one generated here whenever the ref/change bits
were updated, causing it to point to the wrong area of memory.

Signed-off-by: Nathan Whitehorn <nwhitehorn@freebsd.org>
Acked-by: David Gibson <david@gibson.drobpear.id.au>
[agraf: fix whitespace, braces]
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/helper.c