summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSimon Guo <wei.guo.simon@gmail.com>2018-05-23 15:02:09 +0800
committerPaul Mackerras <paulus@ozlabs.org>2018-06-01 10:30:53 +1000
commitb3cebfe8c1cadf1817939dcc3688a2504a69c662 (patch)
treebfba142405d95d36da14b680c0705e9697ba4dbd /kernel
parentd234d68eb7464c9ebd11e870404e83d3e9348406 (diff)
downloadop-kernel-dev-b3cebfe8c1cadf1817939dcc3688a2504a69c662.zip
op-kernel-dev-b3cebfe8c1cadf1817939dcc3688a2504a69c662.tar.gz
KVM: PPC: Move vcpu_load/vcpu_put down to each ioctl case in kvm_arch_vcpu_ioctl
Although we already have kvm_arch_vcpu_async_ioctl() which doesn't require ioctl to load vcpu, the sync ioctl code need to be cleaned up when CONFIG_HAVE_KVM_VCPU_ASYNC_IOCTL is not configured. This patch moves vcpu_load/vcpu_put down to each ioctl switch case so that each ioctl can decide to do vcpu_load/vcpu_put or not independently. Signed-off-by: Simon Guo <wei.guo.simon@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud