diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-28 03:25:05 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 00:32:13 +0100 |
commit | 51441d434f621c5c74470b36579ae7c9fb5b7139 (patch) | |
tree | f30e61665d0c5888f394e71fd93ff23a9de2f040 /virt/kvm/iommu.c | |
parent | kvm: fix implicit use of stat.h header file (diff) | |
download | linux-51441d434f621c5c74470b36579ae7c9fb5b7139.tar.xz linux-51441d434f621c5c74470b36579ae7c9fb5b7139.zip |
kvm: iommu.c file requires the full module.h present.
This file has things like module_param_named() and MODULE_PARM_DESC()
so it needs the full module.h header present. Without it, you'll get:
CC arch/x86/kvm/../../../virt/kvm/iommu.o
virt/kvm/iommu.c:37: error: expected ‘)’ before ‘bool’
virt/kvm/iommu.c:39: error: expected ‘)’ before string constant
make[3]: *** [arch/x86/kvm/../../../virt/kvm/iommu.o] Error 1
make[2]: *** [arch/x86/kvm] Error 2
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'virt/kvm/iommu.c')
-rw-r--r-- | virt/kvm/iommu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/iommu.c b/virt/kvm/iommu.c index 2b3614594457..a195c07fa829 100644 --- a/virt/kvm/iommu.c +++ b/virt/kvm/iommu.c @@ -25,6 +25,7 @@ #include <linux/list.h> #include <linux/kvm_host.h> +#include <linux/module.h> #include <linux/pci.h> #include <linux/stat.h> #include <linux/dmar.h> |