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] [PATCH 2/2][xencomm, pv-on-hvm] xencomm consolidation i

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH 2/2][xencomm, pv-on-hvm] xencomm consolidation ia64 pv-on-hvm
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Tue, 7 Aug 2007 18:24:26 +0900
Delivery-date: Tue, 07 Aug 2007 02:21:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070807092253.GE20189%yamahata@xxxxxxxxxxxxx>
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>
References: <20070807092253.GE20189%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
# HG changeset patch
# User yamahata@xxxxxxxxxxxxx
# Date 1186235937 -32400
# Node ID 12ecf692c5c03b290e49fdb5b2cea35f12b65cd9
# Parent  41fde67aa85ac54b24191eb3db573998b098c41d
compilation fix of unmodified driver
PATCHNAME: unmodified_driver_compiliation_fix

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

diff -r 41fde67aa85a -r 12ecf692c5c0 unmodified_drivers/linux-2.6/mkbuildtree
--- a/unmodified_drivers/linux-2.6/mkbuildtree  Tue Aug 07 14:32:07 2007 +0900
+++ b/unmodified_drivers/linux-2.6/mkbuildtree  Sat Aug 04 22:58:57 2007 +0900
@@ -71,8 +71,8 @@ i[34567]86)
     mkdir -p include/asm/xen
     ln -sf ${XL}/include/asm-ia64/xen/xcom_hcall.h include/asm/xen
     ln -sf ${XL}/include/asm-ia64/xen/xencomm.h include/asm/xen
-    ln -sf ${XL}/arch/ia64/xen/xcom_mini.c platform-pci
-    ln -sf ${XL}/arch/ia64/xen/xencomm.c platform-pci
+    ln -sf ${XL}/arch/ia64/xen/xencomm.c platform-pci/xencomm_arch.c
+    ln -sf ${XL}/drivers/xen/core/xencomm.c platform-pci
   ;;
 *)
     echo unknown architecture $uname
diff -r 41fde67aa85a -r 12ecf692c5c0 
unmodified_drivers/linux-2.6/platform-pci/Kbuild
--- a/unmodified_drivers/linux-2.6/platform-pci/Kbuild  Tue Aug 07 14:32:07 
2007 +0900
+++ b/unmodified_drivers/linux-2.6/platform-pci/Kbuild  Sat Aug 04 22:58:57 
2007 +0900
@@ -17,5 +17,5 @@ xen-platform-pci-objs += ../xenbus/xen_p
 
 # Can we do better ?
 ifeq ($(ARCH),ia64)
-  xen-platform-pci-objs += xcom_mini.o xencomm.o
+  xen-platform-pci-objs += xencomm.o xencomm_arch.o
 endif
diff -r 41fde67aa85a -r 12ecf692c5c0 
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c  Tue Aug 07 
14:32:07 2007 +0900
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c  Sat Aug 04 
22:58:57 2007 +0900
@@ -73,7 +73,7 @@ static int __devinit init_xen_info(void)
        extern void *shared_info_area;
 
 #ifdef __ia64__
-       xencomm_init();
+       xencomm_initialize();
 #endif
 
        setup_xen_features();
diff -r 41fde67aa85a -r 12ecf692c5c0 
unmodified_drivers/linux-2.6/platform-pci/xen_support.c
--- a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c   Tue Aug 07 
14:32:07 2007 +0900
+++ b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c   Sat Aug 04 
22:58:57 2007 +0900
@@ -48,7 +48,7 @@ EXPORT_SYMBOL(__hypercall);
 
 int HYPERVISOR_grant_table_op(unsigned int cmd, void *uop, unsigned int count)
 {
-       return xencomm_mini_hypercall_grant_table_op(cmd, uop, count);
+       return xencomm_hypercall_grant_table_op(cmd, uop, count);
 }
 EXPORT_SYMBOL(HYPERVISOR_grant_table_op);
 


-- 
yamahata

Attachment: 15699_12ecf692c5c0_unmodified_driver_compiliation_fix.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>