]> 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>
Fri, 26 Aug 2011 15:52:06 +0000 (11:52 -0400)
commit963c64d1438049cc28b6ddcd08e890ec30862704
treefae2cc5a26ee0b2c8fab2587d6028d3d6f1b4484
parentcadc725107947f738a14c1c8c9f16191d4215909
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