Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94049
b: refs/heads/master
c: 9d99217
h: refs/heads/master
i:
  94047: 9f690a8
v: v3
  • Loading branch information
Yasunori Goto authored and Linus Torvalds committed Apr 28, 2008
1 parent 29db506 commit 66f9c43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04753278769f3b6c3b79a080edb52f21d83bf6e2
refs/heads/master: 9d99217a02a06a7cc83f065b73e976970970c58c
4 changes: 2 additions & 2 deletions trunk/mm/sparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ struct page __init *sparse_mem_map_populate(unsigned long pnum, int nid)
if (map)
return map;

map = alloc_bootmem_node(NODE_DATA(nid),
sizeof(struct page) * PAGES_PER_SECTION);
map = alloc_bootmem_pages_node(NODE_DATA(nid),
PAGE_ALIGN(sizeof(struct page) * PAGES_PER_SECTION));
return map;
}
#endif /* !CONFIG_SPARSEMEM_VMEMMAP */
Expand Down

0 comments on commit 66f9c43

Please sign in to comment.