projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b792c75
)
xen: set max_pfn_mapped
author
Jeremy Fitzhardinge
<
[email protected]
>
Mon, 16 Jun 2008 21:54:51 +0000
(14:54 -0700)
committer
Ingo Molnar
<
[email protected]
>
Tue, 8 Jul 2008 10:48:30 +0000
(12:48 +0200)
Signed-off-by: Jeremy Fitzhardinge <
[email protected]
>
Cc: Yinghai Lu <
[email protected]
>
Cc: the arch/x86 maintainers <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
Cc: Yinghai Lu <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/xen/enlighten.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/enlighten.c
b/arch/x86/xen/enlighten.c
index 316623cf411fb808249a357bcb0de45cba16b133..76ad1efaf09e9da019674e20aae3c99ea45652fb 100644
(file)
--- a/
arch/x86/xen/enlighten.c
+++ b/
arch/x86/xen/enlighten.c
@@
-1304,6
+1304,7
@@
asmlinkage void __init xen_start_kernel(void)
init_pg_tables_start = __pa(pgd);
init_pg_tables_end = __pa(pgd) + xen_start_info->nr_pt_frames*PAGE_SIZE;
+ max_pfn_mapped = (init_pg_tables_end + 512*1024) >> PAGE_SHIFT;
init_mm.pgd = pgd; /* use the Xen pagetables to start */