RE: Recent SPARSEMEM and DISCONTIG changes break some builds

From: Peter Chubb <peterc_at_gelato.unsw.edu.au>
Date: 2005-11-01 13:11:10
Please note I'm still seeing problems with DISCONTIGMEM builds...
I think the simplest would be to make CONFIG_DISCONTIGMEM depend on
CONFIG_NUMA and use SPARSEMEM for the other cases.

(This is with:
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
CONFIG_DISCONTIGMEM_MANUAL=y
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_DISCONTIGMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_NEED_MULTIPLE_NODES=y
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_DISCONTIGMEM_ENABLE=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_DISCONTIGMEM_DEFAULT=y
# CONFIG_NUMA is not set
CONFIG_VIRTUAL_MEM_MAP=y
CONFIG_HOLES_IN_ZONE=y
CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=y
)
:
In file included from linux-2.6-import/include/linux/slab.h:16,
                 from linux-2.6-import/include/linux/percpu.h:5,
                 from linux-2.6-import/include/linux/sched.h:35,
                 from linux-2.6-import/arch/ia64/kernel/asm-offsets.c:11:
linux-2.6-import/include/linux/gfp.h: In function 'alloc_pages_node':
linux-2.6-import/include/linux/gfp.h:98: warning: implicit declaration of function 'NODE_DATA'
linux-2.6-import/include/linux/gfp.h:98: error: invalid type argument of '->'


-- 
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
The technical we do immediately,  the political takes *forever*
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Nov 01 13:20:06 2005

This archive was generated by hypermail 2.1.8 : 2005-11-01 13:20:14 EST