]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - virt/kvm/kvm_main.c
KVM/MIPS32: Do not call vcpu_load when injecting interrupts.
[linux-imx.git] / virt / kvm / kvm_main.c
index adc68feb5c5a338080ac8ca2385f73577ac6c29a..845cd9cf5189b39e5926c5653a1de491ca322d02 100644 (file)
@@ -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.