Skip to content

Commit

Permalink
KVM/MIPS32: Do not call vcpu_load when injecting interrupts.
Browse files Browse the repository at this point in the history
Signed-off-by: Sanjay Lal <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
sanjaylca authored and ralfbaechle committed May 9, 2013
1 parent 82d45de commit 2f4d9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virt/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2f4d9b5

Please sign in to comment.