]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm: iommu.c file requires the full module.h present.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 01:25:05 +0000 (21:25 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 04:26:48 +0000 (00:26 -0400)
commit1ce93c84978d01f1b938068ad4d04963eb8ad80c
treeb6894bf6f39f2efd252ee280b444cf23ecde8b45
parent36ec5c5150f310859a8b328fe4934732e0a63890
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>
virt/kvm/iommu.c