diff options
author | Sanjay Lal <sanjayl@kymasys.com> | 2012-11-22 03:34:15 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-09 17:48:22 +0200 |
commit | 2f4d9b5442766ec9ae5c2b217badfd9de320e1ea (patch) | |
tree | d80b0ec897dad6013676e1826968baad27f6e3a6 /virt | |
parent | MIPS: Export symbols used by KVM/MIPS module (diff) | |
download | linux-2f4d9b5442766ec9ae5c2b217badfd9de320e1ea.tar.xz linux-2f4d9b5442766ec9ae5c2b217badfd9de320e1ea.zip |
KVM/MIPS32: Do not call vcpu_load when injecting interrupts.
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>
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/kvm_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. |