kvm/ppc/booke: Hold srcu lock when calling gfn functions
authorScott Wood <scottwood@freescale.com>
Fri, 7 Jun 2013 00:16:31 +0000 (19:16 -0500)
committerGleb Natapov <gleb@redhat.com>
Tue, 11 Jun 2013 08:10:59 +0000 (11:10 +0300)
commitf1e89028f020ca982bf51be6eaba0d462ba0f7fa
treeb6d06ea63e61d1f93037f1f9ff76fe19358dfd52
parent2b6398fcf2831f52a8ad9f01c123b3ce2ea31277
kvm/ppc/booke: Hold srcu lock when calling gfn functions

KVM core expects arch code to acquire the srcu lock when calling
gfn_to_memslot and similar functions.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/powerpc/kvm/44x_tlb.c
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/e500_mmu.c