linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm] mm-create-sys-kernel-mm fix
@ 2008-07-14 10:56 KOSAKI Motohiro
  0 siblings, 0 replies; only message in thread
From: KOSAKI Motohiro @ 2008-07-14 10:56 UTC (permalink / raw)
  To: Nishanth Aravamudan, Nick Piggin, Mel Gorman, Andrew Morton, linux-mm
  Cc: kosaki.motohiro

Patch title: mm-create-sys-kernel-mm-fix.patch
Against: mmotm Jul 13
Applies after: mm-create-sys-kernel-mm.patch

Recently, Nishanth Aravamudan introduce /sys/kernel/mm and
add EXPORT_SYMBOL_GPL() to mm_init.c.
then module.h should be included.

otherwise following warning happend.

  mm/mm_init.c:140: warning: data definition has no type or storage class
  mm/mm_init.c:140: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
  mm/mm_init.c:140: warning: parameter names (without types) in function declaration

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
CC: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Mel Gorman <mel@csn.ul.ie>

---
 mm/mm_init.c |    1 +
 1 file changed, 1 insertion(+)

Index: b/mm/mm_init.c
===================================================================
--- a/mm/mm_init.c
+++ b/mm/mm_init.c
@@ -8,6 +8,7 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/kobject.h>
+#include <linux/module.h>
 #include "internal.h"
 
 #ifdef CONFIG_DEBUG_MEMORY_INIT


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-14 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-14 10:56 [mmotm] mm-create-sys-kernel-mm fix KOSAKI Motohiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox