]> 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, 6 Oct 2011 18:10:01 +0000 (14:10 -0400)
commit33f638fca6afbbfeb59fd801e637374cd14da7c1
tree55c4e0aa4aa1cd44de11c4ac1f626e1caedc604f
parent1b968c103fa035f600475433d649c287784a1ef5
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