xen: make phys_to_machine structure dynamic
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 26 May 2008 22:31:18 +0000 (23:31 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 27 May 2008 08:11:37 +0000 (10:11 +0200)
commitd451bb7aa852627bdf7be7937dc3d9d9f261b235
tree2a92b5e271fb2ae7a869f0f2b4f5bb390cac99cc
parent955d6f1778da5a9795f2dfb07f760006f194609a
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>
arch/x86/xen/enlighten.c
arch/x86/xen/mmu.c
arch/x86/xen/setup.c
arch/x86/xen/xen-ops.h
include/asm-x86/xen/page.h