summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-05-09 17:56:40 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-05-09 17:56:40 +0200
commit5e0e61dd2c89c673f89fb57dcd3cc746dc0c1706 (patch)
tree5ebe6156cbc8620625b736a5c9f4d3f47e6d9ebc /virt
parentMerge branch 'mips-next-3.10' of git://git.linux-mips.org/pub/scm/john/linux-... (diff)
parentKVM/MIPS32: Binary patching of select privileged instructions. (diff)
downloadlinux-5e0e61dd2c89c673f89fb57dcd3cc746dc0c1706.tar.xz
linux-5e0e61dd2c89c673f89fb57dcd3cc746dc0c1706.zip
Merge branch 'next/kvm' into mips-for-linux-next
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/kvm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index f18013f09e68..1fc942048521 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -1981,7 +1981,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.