]> 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, 11 Aug 2011 21:32:06 +0000 (17:32 -0400)
commit6f4e5bb1b2ba0553b001dac1e9bf86aa0a69b164
tree400557660a276b94b8da6a5323a6a4f1dd09523f
parenta88a315bcbeab3745541a5508f50a6403ad26819
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