kvm/ppc: Hold srcu lock when calling kvm_io_bus_read/write
authorScott Wood <scottwood@freescale.com>
Fri, 26 Apr 2013 14:53:39 +0000 (14:53 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 2 May 2013 13:28:35 +0000 (15:28 +0200)
commited840ee9c8f15a726a1e7b98c9f5cfc49c2a0ff2
treecbd985731084194cc944b3cb61647e6f60010d40
parent1d6f6b73396859fb13c1222c19d0ec1421777847
kvm/ppc: Hold srcu lock when calling kvm_io_bus_read/write

These functions do an srcu_dereference without acquiring the srcu lock
themselves.

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