Skip to content

Commit 0dee0e7

Browse files
committed
Merge branch 'for-2.6.39' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
* '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
2 parents 9cab1ba + 4aac0b4 commit 0dee0e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/m68k/mm/motorola.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ void __init paging_init(void)
300300
zones_size[ZONE_DMA] = m68k_memory[i].size >> PAGE_SHIFT;
301301
free_area_init_node(i, zones_size,
302302
m68k_memory[i].addr >> PAGE_SHIFT, NULL);
303+
if (node_present_pages(i))
304+
node_set_state(i, N_NORMAL_MEMORY);
303305
}
304306
}
305307

0 commit comments

Comments
 (0)