Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89065
b: refs/heads/master
c: 7d1116a
h: refs/heads/master
i:
  89063: 4fa9885
v: v3
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Apr 17, 2008
1 parent 2444b43 commit 42d1c3b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 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: 41bd4eac748f39d7f3ed770fae3e595a747172bd
refs/heads/master: 7d1116a92d709c22e7db910724c9fcd2001b0499
4 changes: 4 additions & 0 deletions trunk/arch/x86/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@

unsigned int __VMALLOC_RESERVE = 128 << 20;

unsigned long end_pfn_map;

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
unsigned long highstart_pfn, highend_pfn;

Expand Down Expand Up @@ -194,6 +196,7 @@ static void __init kernel_physical_mapping_init(pgd_t *pgd_base)
set_pmd(pmd, pfn_pmd(pfn, prot));

pfn += PTRS_PER_PTE;
end_pfn_map = pfn;
continue;
}
pte = one_page_table_init(pmd);
Expand All @@ -208,6 +211,7 @@ static void __init kernel_physical_mapping_init(pgd_t *pgd_base)

set_pte(pte, pfn_pte(pfn, prot));
}
end_pfn_map = pfn;
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion trunk/include/asm-x86/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#define max_pfn_mapped end_pfn_map
#else
#include <asm/page_32.h>
#define max_pfn_mapped max_low_pfn
#define max_pfn_mapped end_pfn_map
#endif /* CONFIG_X86_64 */

#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET)
Expand All @@ -50,6 +50,8 @@

extern int page_is_ram(unsigned long pagenr);

extern unsigned long end_pfn_map;

struct page;

static inline void clear_user_page(void *page, unsigned long vaddr,
Expand Down
1 change: 0 additions & 1 deletion trunk/include/asm-x86/page_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ void clear_page(void *page);
void copy_page(void *to, void *from);

extern unsigned long end_pfn;
extern unsigned long end_pfn_map;
extern unsigned long phys_base;

extern unsigned long __phys_addr(unsigned long);
Expand Down

0 comments on commit 42d1c3b

Please sign in to comment.