Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82903
b: refs/heads/master
c: d4f71f7
h: refs/heads/master
i:
  82901: b36f84b
  82899: 0f6ff43
  82895: 9a2d723
v: v3
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Feb 4, 2008
1 parent 43b124c commit 3c04d06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 7bfb72e847c201fe32271fb13f75d060671d8890
refs/heads/master: d4f71f7969ee2c16e2969185280c13d4f51a9172
6 changes: 2 additions & 4 deletions trunk/arch/x86/mm/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ phys_pmd_init(pmd_t *pmd_page, unsigned long address, unsigned long end)
int i = pmd_index(address);

for (; i < PTRS_PER_PMD; i++, address += PMD_SIZE) {
unsigned long entry;
pmd_t *pmd = pmd_page + pmd_index(address);

if (address >= end) {
Expand All @@ -287,9 +286,8 @@ phys_pmd_init(pmd_t *pmd_page, unsigned long address, unsigned long end)
if (pmd_val(*pmd))
continue;

entry = __PAGE_KERNEL_LARGE|_PAGE_GLOBAL|address;
entry &= __supported_pte_mask;
set_pmd(pmd, __pmd(entry));
set_pte((pte_t *)pmd,
pfn_pte(address >> PAGE_SHIFT, PAGE_KERNEL_LARGE));
}
}

Expand Down

0 comments on commit 3c04d06

Please sign in to comment.