# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1189410754 -32400 # Node ID 9e794e2235f1c9b26b1d5f76ea9a8cbe9d99e278 # Parent 34268dc2b425e79b0a8365e4bf46bcc95848c904 fix xencomm for unmodifed driver. In RHEL4U4, insmod xen-platform-pci.ko failed with these patches. kernel's message: xen_platform_pci: Unknown symbol xencomm_arch_hypercall_suspend comment out xencomm_hypercall_suspend() because suspend hypercall isn't necessary for VTi domain. PATCHNAME: comment_out_xencomm_hypercall_suspend_for_pv_on_hvm Signed-off-by: Isaku Yamahata diff -r 34268dc2b425 -r 9e794e2235f1 arch/ia64/xen/xcom_hcall.c --- a/arch/ia64/xen/xcom_hcall.c Tue Sep 04 10:57:25 2007 +0900 +++ b/arch/ia64/xen/xcom_hcall.c Mon Sep 10 16:52:34 2007 +0900 @@ -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)