Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310618
b: refs/heads/master
c: bd2753b
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jun 8, 2012
1 parent 4ab79a9 commit f434e91
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: 743628e868c5992354fc80b4d1e9a6143da1c0e6
refs/heads/master: bd2753b2dda7bb43c7468826de75f49c6a7e8965
3 changes: 2 additions & 1 deletion trunk/arch/x86/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ static void __init find_early_table_space(struct map_range *mr, unsigned long en
extra += PMD_SIZE;
#endif
/* The first 2/4M doesn't use large pages. */
extra += mr->end - mr->start;
if (mr->start < PMD_SIZE)
extra += mr->end - mr->start;

ptes = (extra + PAGE_SIZE - 1) >> PAGE_SHIFT;
} else
Expand Down

0 comments on commit f434e91

Please sign in to comment.