diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-06-16 17:54:51 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 06:48:30 -0400 |
commit | 88a6846c70ad6bf33a545d554ace801d69e8a1a5 (patch) | |
tree | 93bdee2e02f92a265e36820673bd3c0fd398bba5 /arch/x86/xen/enlighten.c | |
parent | b792c755907cffceab393585b626ef2553c38538 (diff) |
xen: set max_pfn_mapped
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: the arch/x86 maintainers <x86@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 316623cf411f..76ad1efaf09e 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1304,6 +1304,7 @@ asmlinkage void __init xen_start_kernel(void) | |||
1304 | 1304 | ||
1305 | init_pg_tables_start = __pa(pgd); | 1305 | init_pg_tables_start = __pa(pgd); |
1306 | init_pg_tables_end = __pa(pgd) + xen_start_info->nr_pt_frames*PAGE_SIZE; | 1306 | init_pg_tables_end = __pa(pgd) + xen_start_info->nr_pt_frames*PAGE_SIZE; |
1307 | max_pfn_mapped = (init_pg_tables_end + 512*1024) >> PAGE_SHIFT; | ||
1307 | 1308 | ||
1308 | init_mm.pgd = pgd; /* use the Xen pagetables to start */ | 1309 | init_mm.pgd = pgd; /* use the Xen pagetables to start */ |
1309 | 1310 | ||