* [mmotm] fix build error caused by !NUMA migration
@ 2008-07-14 16:20 KOSAKI Motohiro
0 siblings, 0 replies; only message in thread
From: KOSAKI Motohiro @ 2008-07-14 16:20 UTC (permalink / raw)
To: Christoph Lameter, Gerald Schaefer, Martin Schwidefsky,
Heiko Carstens, linux-mm, Andrew Morton
Cc: kosaki.motohiro
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-14 16:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-14 16:20 [mmotm] fix build error caused by !NUMA migration KOSAKI Motohiro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox