Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320865
b: refs/heads/master
c: 88fdf75
h: refs/heads/master
i:
  320863: 3595909
v: v3
  • Loading branch information
Minchan Kim authored and Linus Torvalds committed Aug 1, 2012
1 parent 2526fb3 commit 878a7bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93180cec0064d072a984f91c429c5e6bcc816976
refs/heads/master: 88fdf75d1bb51d85ba00c466391770056d44bc03
3 changes: 3 additions & 0 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4515,6 +4515,9 @@ void __paginginit free_area_init_node(int nid, unsigned long *zones_size,
{
pg_data_t *pgdat = NODE_DATA(nid);

/* pg_data_t should be reset to zero when it's allocated */
WARN_ON(pgdat->nr_zones || pgdat->node_start_pfn || pgdat->classzone_idx);

pgdat->node_id = nid;
pgdat->node_start_pfn = node_start_pfn;
calculate_node_totalpages(pgdat, zones_size, zholes_size);
Expand Down

0 comments on commit 878a7bc

Please sign in to comment.