diff options
author | Sanjay Lal <sanjayl@kymasys.com> | 2012-11-21 21:34:15 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-09 11:48:22 -0400 |
commit | 2f4d9b5442766ec9ae5c2b217badfd9de320e1ea (patch) | |
tree | d80b0ec897dad6013676e1826968baad27f6e3a6 /virt | |
parent | 82d45de6554951b6e863697cca95c927fb90724c (diff) |
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, | |||
1954 | if (vcpu->kvm->mm != current->mm) | 1954 | if (vcpu->kvm->mm != current->mm) |
1955 | return -EIO; | 1955 | return -EIO; |
1956 | 1956 | ||
1957 | #if defined(CONFIG_S390) || defined(CONFIG_PPC) | 1957 | #if defined(CONFIG_S390) || defined(CONFIG_PPC) || defined(CONFIG_MIPS) |
1958 | /* | 1958 | /* |
1959 | * Special cases: vcpu ioctls that are asynchronous to vcpu execution, | 1959 | * Special cases: vcpu ioctls that are asynchronous to vcpu execution, |
1960 | * so vcpu_load() would break it. | 1960 | * so vcpu_load() would break it. |