aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-03-17 19:27:19 +0800
committerAvi Kivity <avi@redhat.com>2009-03-24 11:03:15 +0200
commitbc7a8660df62da3fb5cad025322eda75fbee8731 (patch)
treefd65bc4aa3046b3dffc843389be52869576aa99b /include/linux
parent046a48b35baa7c66d0d0331256ba12ca51665411 (diff)
downloadkernel_samsung_smdk4412-bc7a8660df62da3fb5cad025322eda75fbee8731.zip
kernel_samsung_smdk4412-bc7a8660df62da3fb5cad025322eda75fbee8731.tar.gz
kernel_samsung_smdk4412-bc7a8660df62da3fb5cad025322eda75fbee8731.tar.bz2
KVM: Correct deassign device ioctl to IOW
It's IOR by mistake, so fix it before release. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 0d94b27..311a073 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -483,7 +483,7 @@ struct kvm_irq_routing {
#define KVM_ASSIGN_IRQ _IOR(KVMIO, 0x70, \
struct kvm_assigned_irq)
#define KVM_REINJECT_CONTROL _IO(KVMIO, 0x71)
-#define KVM_DEASSIGN_PCI_DEVICE _IOR(KVMIO, 0x72, \
+#define KVM_DEASSIGN_PCI_DEVICE _IOW(KVMIO, 0x72, \
struct kvm_assigned_pci_dev)
/*