Patchwork [2/4] powerpc: book3s kvm can be modular so it should use module.h

login
register
mail settings
Submitter Paul Gortmaker
Date Jan. 13, 2014, 4:21 p.m.
Message ID <1389630113-7919-3-git-send-email-paul.gortmaker@windriver.com>
Download mbox | patch
Permalink /patch/310237/
State Not Applicable
Headers show

Comments

Paul Gortmaker - Jan. 13, 2014, 4:21 p.m.
KVM support is tristate, so this file should be including
module.h instead of export.h -- it only works currently because
module_init is currently (mis)placed in init.h -- but we are
intending to clean that up and relocate it to module.h

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 arch/powerpc/kvm/book3s.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c
index 8912608b7e1b..279459e8a072 100644
--- a/arch/powerpc/kvm/book3s.c
+++ b/arch/powerpc/kvm/book3s.c
@@ -16,7 +16,7 @@ 
 
 #include <linux/kvm_host.h>
 #include <linux/err.h>
-#include <linux/export.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 
 #include <asm/reg.h>