Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f4d9b54 authored by Sanjay Lal's avatar Sanjay Lal Committed by Ralf Baechle
Browse files

KVM/MIPS32: Do not call vcpu_load when injecting interrupts.



Signed-off-by: default avatarSanjay Lal <sanjayl@kymasys.com>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 82d45de6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1954,7 +1954,7 @@ static long kvm_vcpu_ioctl(struct file *filp,
	if (vcpu->kvm->mm != current->mm)
	if (vcpu->kvm->mm != current->mm)
		return -EIO;
		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,
	 * Special cases: vcpu ioctls that are asynchronous to vcpu execution,
	 * so vcpu_load() would break it.
	 * so vcpu_load() would break it.