]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
KVM/MIPS32: Do not call vcpu_load when injecting interrupts.
authorSanjay Lal <sanjayl@kymasys.com>
Thu, 22 Nov 2012 02:34:15 +0000 (18:34 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Feb 2013 09:00:26 +0000 (10:00 +0100)
Signed-off-by: Sanjay Lal <sanjayl@kymasys.com>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
virt/kvm/kvm_main.c

index 1cd693a76a510c34a2d563d9fe68072802d28620..809bc74711f2f1dd98337352c09b1d36ec138a9c 100644 (file)
@@ -1883,7 +1883,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.