summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2006-04-22 02:35:41 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-22 09:19:52 -0700
commit3b5fd59fdd2e656dd4d10f2cedb41a7519b131b2 (patch)
tree78b79ba00561ad1ae59d2882031271906e3541df /mm/shmem.c
parent73a88814542d3f5b8973f3db9d7f380bd29957c4 (diff)
downloadlinux-3b5fd59fdd2e656dd4d10f2cedb41a7519b131b2.tar.bz2
[PATCH] x86_64: sparsemem does not need node_mem_map
Seems we are trying to init the node_mem_map when we don't need to, for example when SPARSEMEM is enabled. This causes the error below during compilation. Use CONFIG_FLAT_NODE_MEM_MAP to gate allocation and init. arch/x86_64/mm/numa.c: In function `setup_node_zones': arch/x86_64/mm/numa.c:191: error: structure has no member named `node_mem_map' Signed-off-by: Andy Whitcroft <apw@shadowen.org> Acked-by: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions