Commit 2f4d9b5442766ec9ae5c2b217badfd9de320e1ea

Authored by Sanjay Lal
Committed by Ralf Baechle
1 parent 82d45de655

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

... ... @@ -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.