diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-05-26 18:31:18 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-27 04:11:37 -0400 |
commit | d451bb7aa852627bdf7be7937dc3d9d9f261b235 (patch) | |
tree | 2a92b5e271fb2ae7a869f0f2b4f5bb390cac99cc /arch/x86/xen/enlighten.c | |
parent | 955d6f1778da5a9795f2dfb07f760006f194609a (diff) |
xen: make phys_to_machine structure dynamic
We now support the use of memory hotplug, so the physical to machine
page mapping structure must be dynamic. This is implemented as a
two-level radix tree structure, which allows us to efficiently
incrementally allocate memory for the p2m table as new pages are
added.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 5c0635a8bffd..73d3c84a3495 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1221,7 +1221,7 @@ asmlinkage void __init xen_start_kernel(void) | |||
1221 | 1221 | ||
1222 | /* Get mfn list */ | 1222 | /* Get mfn list */ |
1223 | if (!xen_feature(XENFEAT_auto_translated_physmap)) | 1223 | if (!xen_feature(XENFEAT_auto_translated_physmap)) |
1224 | phys_to_machine_mapping = (unsigned long *)xen_start_info->mfn_list; | 1224 | xen_build_dynamic_phys_to_machine(); |
1225 | 1225 | ||
1226 | pgd = (pgd_t *)xen_start_info->pt_base; | 1226 | pgd = (pgd_t *)xen_start_info->pt_base; |
1227 | 1227 | ||