target-i386: simplify pte/vaddr calculation
commite7e898a76aa00e2238b119ed2910442b1c3cacdd
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 May 2014 12:44:49 +0000 (27 14:44 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Jun 2014 14:10:34 +0000 (5 16:10 +0200)
tree26bc240a507389cd0360333c3706cf60cd942ad5
parente8f6d00c30ed88910d0d985f4b2bf41654172ceb
target-i386: simplify pte/vaddr calculation

They can moved to after the dirty bit processing, and unified between
CR0.PG=1 and CR0.PG=0.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/helper.c