From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: Christoph Lameter <cl@linux-foundation.org>,
Gerald Schaefer <gerald.schaefer@de.ibm.com>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Heiko Carstens <heiko.carstens@de.ibm.com>,
linux-mm <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>
Cc: kosaki.motohiro@jp.fujitsu.com
Subject: [mmotm] fix build error caused by !NUMA migration
Date: Tue, 15 Jul 2008 01:20:38 +0900 [thread overview]
Message-ID: <20080715011230.F6EB.KOSAKI.MOTOHIRO@jp.fujitsu.com> (raw)
Patch title: mm-make-config_migration-available-w-o-config_numa-fix.patch
Against: mmotm Jul 14
Applies after: mm-make-config_migration-available-w-o-config_numa.patch
"Make CONFIG_MIGRATION available w/o CONFIG_NUMA" patch add pagemap.h inclusion.
Unfortunately, mempolicy.h is userland exported header, but pagemap.h isn't.
then it cause build error on IA64 && CONFIG_DISCONTIGMEM environment.
CHECK include/linux (342 files)
linux-2.6.26-rc9-mmotm-0714/usr/include/linux/mempolicy.h:5: included file 'linux/pagemap.h' is not exported
make[3]: *** [linux-2.6.26-rc9-mmotm-0714/usr/include/linux/.check] Error 1
Signed-off-by: KOSAKI Motorhiro <kosaki.motohiro@jp.fujitsu.com>
CC: Christoph Lameter <cl@linux-foundation.org>
CC: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
---
include/linux/mempolicy.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/include/linux/mempolicy.h
===================================================================
--- a/include/linux/mempolicy.h
+++ b/include/linux/mempolicy.h
@@ -2,7 +2,6 @@
#define _LINUX_MEMPOLICY_H 1
#include <linux/errno.h>
-#include <linux/pagemap.h>
/*
* NUMA memory policies for Linux.
@@ -60,6 +59,7 @@ enum {
#include <linux/rbtree.h>
#include <linux/spinlock.h>
#include <linux/nodemask.h>
+#include <linux/pagemap.h>
struct mm_struct;
--
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 16:20 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=20080715011230.F6EB.KOSAKI.MOTOHIRO@jp.fujitsu.com \
--to=kosaki.motohiro@jp.fujitsu.com \
--cc=akpm@linux-foundation.org \
--cc=cl@linux-foundation.org \
--cc=gerald.schaefer@de.ibm.com \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-mm@kvack.org \
--cc=schwidefsky@de.ibm.com \
/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