Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99729
b: refs/heads/master
c: f19dc2f
h: refs/heads/master
i:
  99727: 0d65bf2
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jun 4, 2008
1 parent 1b98f87 commit 8e6a572
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 835fc943f34139ed062f1ac194b52ed3b7123d88
refs/heads/master: f19dc2f22a180dde3f9e611b76c73f5390c11ecd
2 changes: 2 additions & 0 deletions trunk/arch/x86/kernel/setup_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,13 @@ static unsigned long __init setup_memory(void)
if (max_pfn > max_low_pfn) {
highstart_pfn = max_low_pfn;
}
memory_present(0, 0, highend_pfn);
printk(KERN_NOTICE "%ldMB HIGHMEM available.\n",
pages_to_mb(highend_pfn - highstart_pfn));
num_physpages = highend_pfn;
high_memory = (void *) __va(highstart_pfn * PAGE_SIZE - 1) + 1;
#else
memory_present(0, 0, max_low_pfn);
num_physpages = max_low_pfn;
high_memory = (void *) __va(max_low_pfn * PAGE_SIZE - 1) + 1;
#endif
Expand Down

0 comments on commit 8e6a572

Please sign in to comment.