Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245679
b: refs/heads/master
c: a6c24f7
h: refs/heads/master
i:
  245677: 3e43caf
  245675: 87a2878
  245671: e5a639f
  245663: 7058de5
v: v3
  • Loading branch information
Tejun Heo authored and H. Peter Anvin committed Apr 7, 2011
1 parent 88119a0 commit 9cd257e
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 3fe14ab541cd9b0d1f243afb7556046f12c8743c
refs/heads/master: a6c24f7a705d939ddd2fcaa443fa3d8e852b933d
3 changes: 2 additions & 1 deletion trunk/arch/x86/mm/numa_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ static __init unsigned long calculate_numa_remap_pages(void)
node_end_pfn[nid] = max_pfn;

/* ensure the remap includes space for the pgdat. */
size = node_remap_size[nid] + sizeof(pg_data_t);
size = node_remap_size[nid];
size += ALIGN(sizeof(pg_data_t), PAGE_SIZE);

/* convert size to large (pmd size) pages, rounding up */
size = (size + LARGE_PAGE_BYTES - 1) / LARGE_PAGE_BYTES;
Expand Down

0 comments on commit 9cd257e

Please sign in to comment.