[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] [IA64] Minor fix of xcom_hcall.c for pv-on-hvm.
# HG changeset patch # User Alex Williamson <alex.williamson@xxxxxx> # Date 1189611530 21600 # Node ID c80b20789f97cc27ac18d3480c6bb50e448f6269 # Parent d650f254d544b16c31f025c3ab40c357153346e1 [IA64] Minor fix of xcom_hcall.c for pv-on-hvm. - compilation fix. hypercall.h shouldn't be included directly. intead include hypervisor.h - In RHEL4U4, insmod xen-platform-pci.ko failed with these patches. xen_platform_pci: Unknown symbol xencomm_arch_hypercall_suspend comment out xencomm_hypercall_suspend() because suspend hypercall isn't necessary for VTi domain. Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx> --- arch/ia64/xen/xcom_hcall.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -r d650f254d544 -r c80b20789f97 arch/ia64/xen/xcom_hcall.c --- a/arch/ia64/xen/xcom_hcall.c Tue Sep 11 15:15:22 2007 -0600 +++ b/arch/ia64/xen/xcom_hcall.c Wed Sep 12 09:38:50 2007 -0600 @@ -39,7 +39,7 @@ #include <xen/interface/hvm/params.h> #include <xen/interface/xenoprof.h> #include <xen/interface/vcpu.h> -#include <asm/hypercall.h> +#include <asm/hypervisor.h> #include <asm/page.h> #include <asm/uaccess.h> #include <asm/xen/xencomm.h> @@ -483,6 +483,7 @@ xencomm_hypercall_hvm_op(int cmd, void * } EXPORT_SYMBOL_GPL(xencomm_hypercall_hvm_op); +#ifndef CONFIG_VMX_GUEST int xencomm_hypercall_suspend(unsigned long srec) { @@ -493,6 +494,7 @@ xencomm_hypercall_suspend(unsigned long return xencomm_arch_hypercall_suspend( xencomm_map_no_alloc(&arg, sizeof(arg))); } +#endif int xencomm_hypercall_xenoprof_op(int op, void *arg) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |