projects/linux·commit 0dee0e7f

Merge branch 'for-2.6.39' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k

0dee0e7f · Linus Torvalds <[email protected]> · 2011-04-28 13:13:44 -07:00

* 'for-2.6.39' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
  m68k/mm: Set all online nodes in N_NORMAL_MEMORY
Commit
0dee0e7fbf446b02125a67f7dfe9415880d6564e
Parents
9cab1ba4 · 4aac0b48

Merge commit. Changes below are compared with the first parent: 9cab1ba4.

Changes

1 files changed · +2 −0

FileStatusAddDelContent
arch/m68k/mm/motorola.cmodified+2−0View file

arch/m68k/mm/motorola.c

View file
diff --git a/arch/m68k/mm/motorola.c b/arch/m68k/mm/motorola.c
index 02b7a03..8b3db1c 100644
--- a/arch/m68k/mm/motorola.c
+++ b/arch/m68k/mm/motorola.c
@@ -300,6 +300,8 @@ void __init paging_init(void)
zones_size[ZONE_DMA] = m68k_memory[i].size >> PAGE_SHIFT;
free_area_init_node(i, zones_size,
m68k_memory[i].addr >> PAGE_SHIFT, NULL);
+ if (node_present_pages(i))
+ node_set_state(i, N_NORMAL_MEMORY);
}
}