Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284390
b: refs/heads/master
c: d0048b0
h: refs/heads/master
v: v3
  • Loading branch information
Bob Liu authored and Linus Torvalds committed Jan 13, 2012
1 parent 4fbf2f4 commit 6f469c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 3ed28fa1080c73747ce17f2025b28b062fb5aa7f
refs/heads/master: d0048b0e59c1218d62bb4d014f34bbd7e7c0a214
4 changes: 3 additions & 1 deletion trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4642,8 +4642,10 @@ static void check_for_regular_memory(pg_data_t *pgdat)

for (zone_type = 0; zone_type <= ZONE_NORMAL; zone_type++) {
struct zone *zone = &pgdat->node_zones[zone_type];
if (zone->present_pages)
if (zone->present_pages) {
node_set_state(zone_to_nid(zone), N_NORMAL_MEMORY);
break;
}
}
#endif
}
Expand Down

0 comments on commit 6f469c2

Please sign in to comment.