xen: use header for EXPORT_SYMBOL_GPL
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 12 May 2009 20:31:40 +0000 (13:31 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 13 May 2009 13:43:55 +0000 (15:43 +0200)
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

[ Impact: cleanup ]

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/mmu.c

index e25a78e1113a11f8b2c057508697d48b3d99b2af..fba55b1a40217f93dad87242d3d7584a5d9665b2 100644 (file)
@@ -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>