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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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 <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux