From: Sanjay Lal Date: Thu, 22 Nov 2012 02:34:15 +0000 (-0800) Subject: KVM/MIPS32: Do not call vcpu_load when injecting interrupts. X-Git-Tag: firefly_0821_release~3680^2~497^2~1^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2f4d9b5442766ec9ae5c2b217badfd9de320e1ea;p=firefly-linux-kernel-4.4.55.git KVM/MIPS32: Do not call vcpu_load when injecting interrupts. Signed-off-by: Sanjay Lal Cc: kvm@vger.kernel.org Cc: linux-mips@linux-mips.org Signed-off-by: Ralf Baechle --- diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index adc68feb5c5a..845cd9cf5189 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -1954,7 +1954,7 @@ static long kvm_vcpu_ioctl(struct file *filp, if (vcpu->kvm->mm != current->mm) return -EIO; -#if defined(CONFIG_S390) || defined(CONFIG_PPC) +#if defined(CONFIG_S390) || defined(CONFIG_PPC) || defined(CONFIG_MIPS) /* * Special cases: vcpu ioctls that are asynchronous to vcpu execution, * so vcpu_load() would break it.