From 2a0d6ce98d3a6161d05f3c3deaf1d8259d0c05e7 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Wed, 27 Jul 2011 21:25:05 -0400 Subject: [PATCH] kvm: iommu.c file requires the full module.h present. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- virt/kvm/iommu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/virt/kvm/iommu.c b/virt/kvm/iommu.c index bea8719fcc8d..5920a7e1b2a9 100644 --- a/virt/kvm/iommu.c +++ b/virt/kvm/iommu.c @@ -25,6 +25,7 @@ #include #include +#include #include #include #include -- 2.39.5