|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [patch 04/16] Kexec: Add xen_limit_pages_to_max_mfn()
Add xen_limit_pages_to_max_mfn() in keeping with x86.
On ia64 it seems that it just needs to be a wrapper
for xen_create_contiguous_region().
Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
Index: linux-2.6.18-xen.hg/arch/ia64/xen/hypervisor.c
===================================================================
--- linux-2.6.18-xen.hg.orig/arch/ia64/xen/hypervisor.c 2007-07-11
12:08:54.000000000 +0900
+++ linux-2.6.18-xen.hg/arch/ia64/xen/hypervisor.c 2007-07-11
17:39:02.000000000 +0900
@@ -399,6 +399,14 @@ __xen_destroy_contiguous_region(unsigned
balloon_unlock(flags);
}
+int
+xen_limit_pages_to_max_mfn(struct page *pages, unsigned int order,
+ unsigned int address_bits)
+{
+ return xen_create_contiguous_region((unsigned long)page_address(pages),
+ order, address_bits);
+}
+
///////////////////////////////////////////////////////////////////////////
// grant table hack
Index: linux-2.6.18-xen.hg/include/asm-ia64/hypervisor.h
===================================================================
--- linux-2.6.18-xen.hg.orig/include/asm-ia64/hypervisor.h 2007-07-11
12:12:17.000000000 +0900
+++ linux-2.6.18-xen.hg/include/asm-ia64/hypervisor.h 2007-07-11
17:39:05.000000000 +0900
@@ -168,6 +168,11 @@ xen_destroy_contiguous_region(unsigned l
__xen_destroy_contiguous_region(vstart, order);
}
+struct page;
+
+int xen_limit_pages_to_max_mfn(struct page *pages, unsigned int order,
+ unsigned int address_bits);
+
/* For drivers/xen/core/machine_reboot.c */
#define HAVE_XEN_POST_SUSPEND
void xen_post_suspend(int suspend_cancelled);
--
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
[Xen-ia64-devel] [patch 02/16] Initialise xen_start_info earlier in setup_arch(), Simon Horman
[Xen-ia64-devel] [patch 05/16] Kexec: Use xen machine_kexec() and machine_shutdown(), Simon Horman
[Xen-ia64-devel] [patch 14/16] Kdump: Add /proc/iomem_machine, Simon Horman
[Xen-ia64-devel] [patch 06/16] Kdump: pass control page to hypervisor, Simon Horman
[Xen-ia64-devel] [patch 15/16] Kexec: Purge the VHPT entry in the TLB on kexec, Simon Horman
[Xen-ia64-devel] [patch 10/16] Kexec: Call xen_machine_kexec_register_resources, Simon Horman
[Xen-ia64-devel] [patch 04/16] Kexec: Add xen_limit_pages_to_max_mfn(),
Simon Horman <=
[Xen-ia64-devel] [patch 09/16] Kexec/Kdump: honour non-zero crashkernel offset, Simon Horman
[Xen-ia64-devel] [patch 11/16] Update default config to enable kexec, Simon Horman
[Xen-ia64-devel] [patch 08/16] CONFIG_KEXEC/CONFIG_CRASH_DUMP permutations, Simon Horman
[Xen-ia64-devel] [patch 1/2] Allow architectures to specify the location of /proc/iomem, Simon Horman
[Xen-ia64-devel] [patch 03/16] IA64 Kexec/kdump, Simon Horman
|
|
|
|
|