WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] [IA64] Kexec: xen_foreign_p2m_expose() needs CONFIG_XEN

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [IA64] Kexec: xen_foreign_p2m_expose() needs CONFIG_XEN_IA64_EXPOSE_P2M
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Tue, 11 Sep 2007 19:40:17 +0900
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Delivery-date: Tue, 11 Sep 2007 03:59:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
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>