Thread (1 message) 1 message, 1 author, 2009-05-06
DORMANTno replies

[PATCH] xen: use header for EXPORT_SYMBOL_GPL

From: Randy Dunlap <hidden>
Date: 2009-05-06 16:51:17
Also in: lkml, xen-devel

From: Randy Dunlap <redacted>

mmu.c needs to #include module.h to prevent these warnings:

arch/x86/xen/mmu.c:239: warning: data definition has no type or storage class
arch/x86/xen/mmu.c:239: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/x86/xen/mmu.c:239: warning: parameter names (without types) in function declaration

Signed-off-by: Randy Dunlap <redacted>
---
 arch/x86/xen/mmu.c |    1 +
 1 file changed, 1 insertion(+)
--- mmotm-2009-0505-2119.orig/arch/x86/xen/mmu.c
+++ mmotm-2009-0505-2119/arch/x86/xen/mmu.c
@@ -42,6 +42,7 @@
 #include <linux/highmem.h>
 #include <linux/debugfs.h>
 #include <linux/bug.h>
+#include <linux/module.h>
 
 #include <asm/pgtable.h>
 #include <asm/tlbflush.h>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help