|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [IA64] Kexec: xen_foreign_p2m_expose() needs CONFIG_XEN
ia64/linux-2.6.18-xen.hg 197:e1466633683c "[IA64] Foreign p2m: linux side"
causes a build regression when the config does not set
CONFIG_XEN_IA64_EXPOSE_P2M.
arch/ia64/xen/built-in.o: In function
`xencomm_privcmd_ia64_dom0vp_op':arch/ia64/xen/xcom_privcmd.c:736: undefined
reference to `xen_foreign_p2m_expose'
make: *** [.tmp_vmlinux1] Error 1
This patch should resolve the problem.
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
Index: linux-2.6.18-xen.hg/arch/ia64/xen/xcom_privcmd.c
===================================================================
--- linux-2.6.18-xen.hg.orig/arch/ia64/xen/xcom_privcmd.c 2007-09-11
18:13:57.000000000 +0900
+++ linux-2.6.18-xen.hg/arch/ia64/xen/xcom_privcmd.c 2007-09-11
18:14:02.000000000 +0900
@@ -732,9 +732,11 @@ xencomm_privcmd_ia64_dom0vp_op(privcmd_h
ret = -EFAULT;
break;
}
+#ifdef CONFIG_XEN_IA64_EXPOSE_P2M
case IA64_DOM0VP_expose_foreign_p2m:
ret = xen_foreign_p2m_expose(hypercall);
break;
+#endif
default:
printk("%s: unknown IA64 DOM0VP op %d\n", __func__, cmd);
ret = -EINVAL;
_______________________________________________
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] [IA64] Kexec: xen_foreign_p2m_expose() needs CONFIG_XEN_IA64_EXPOSE_P2M,
Simon Horman <=
|
|
|
|
|