Commit 2f4d9b5442766ec9ae5c2b217badfd9de320e1ea
Committed by
Ralf Baechle
1 parent
82d45de655
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
virt/kvm/kvm_main.c
... | ... | @@ -1954,7 +1954,7 @@ |
1954 | 1954 | if (vcpu->kvm->mm != current->mm) |
1955 | 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 | 1959 | * Special cases: vcpu ioctls that are asynchronous to vcpu execution, |
1960 | 1960 | * so vcpu_load() would break it. |