[PATCH -mm] mm/rmap.c: don't forget to include module.h

From: Alexey Dobriyan
Date: Wed Jan 11 2006 - 11:39:32 EST


CC mm/rmap.o
mm/rmap.c:235: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
mm/rmap.c:235: warning: parameter names (without types) in function declaration
mm/rmap.c:235: warning: data definition has no type or storage class

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

mm/rmap.c | 3 +++
1 file changed, 3 insertions(+)

--- linux-2.6.15-mm3/mm/rmap.c 2006-01-11 19:42:39.000000000 +0300
+++ linux-2.6.15-mm3-rmap/mm/rmap.c 2006-01-11 19:48:12.000000000 +0300
@@ -52,6 +52,9 @@
#include <linux/init.h>
#include <linux/rmap.h>
#include <linux/rcupdate.h>
+#ifdef CONFIG_MIGRATION
+#include <linux/module.h>
+#endif

#include <asm/tlbflush.h>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/