From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: Nishanth Aravamudan <nacc@us.ibm.com>,
Nick Piggin <nickpiggin@yahoo.com.au>, Mel Gorman <mel@csn.ul.ie>,
Andrew Morton <akpm@linux-foundation.org>,
linux-mm <linux-mm@kvack.org>
Cc: kosaki.motohiro@jp.fujitsu.com
Subject: [mmotm] mm-create-sys-kernel-mm fix
Date: Mon, 14 Jul 2008 19:56:23 +0900 [thread overview]
Message-ID: <20080714195446.F6DC.KOSAKI.MOTOHIRO@jp.fujitsu.com> (raw)
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>
reply other threads:[~2008-07-14 10:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080714195446.F6DC.KOSAKI.MOTOHIRO@jp.fujitsu.com \
--to=kosaki.motohiro@jp.fujitsu.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=mel@csn.ul.ie \
--cc=nacc@us.ibm.com \
--cc=nickpiggin@yahoo.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox