KVM: PPC: e500: don't translate gfn to pfn with preemption disabled
authorScott Wood <scottwood@freescale.com>
Thu, 18 Aug 2011 20:25:14 +0000 (15:25 -0500)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:23 +0000 (14:52 +0200)
commit3bf3cdcc148abcd0e9d398393d390ff136d6eb9a
tree6a315d5d4398144d0f7f876cec2d52d27e8cef4e
parent59674c1a6a35d56ae5197cbc9abe7bfec6762ba9
KVM: PPC: e500: don't translate gfn to pfn with preemption disabled

Delay allocation of the shadow pid until we're ready to disable
preemption and write the entry.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/e500_tlb.c