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-devel] [IA64] adjust ia64 xc_domain_restore() signature

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [IA64] adjust ia64 xc_domain_restore() signature
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Wed, 27 May 2009 18:36:38 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 May 2009 02:37:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
[IA64] adjust ia64 xc_domain_restore() signature

This patch fixes the following error.
ia64/xc_ia64_linux_restore.c:546: error: conflicting types for xc_domain_restore
./xenguest.h:49: error: previous declaration of xc_domain_restore was here
make[4]: *** [ia64/xc_ia64_linux_restore.o] Error 1

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff --git a/tools/libxc/ia64/xc_ia64_linux_restore.c 
b/tools/libxc/ia64/xc_ia64_linux_restore.c
--- a/tools/libxc/ia64/xc_ia64_linux_restore.c
+++ b/tools/libxc/ia64/xc_ia64_linux_restore.c
@@ -540,9 +540,9 @@ xc_ia64_hvm_domain_setup(int xc_handle, 
 
 int
 xc_domain_restore(int xc_handle, int io_fd, uint32_t dom,
-                 unsigned int store_evtchn, unsigned long *store_mfn,
-                 unsigned int console_evtchn, unsigned long *console_mfn,
-                 unsigned int hvm, unsigned int pae)
+                  unsigned int store_evtchn, unsigned long *store_mfn,
+                  unsigned int console_evtchn, unsigned long *console_mfn,
+                  unsigned int hvm, unsigned int pae, int superpages)
 {
     DECLARE_DOMCTL;
     int rc = 1;


-- 
yamahata

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [IA64] adjust ia64 xc_domain_restore() signature, Isaku Yamahata <=