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-devel

[Xen-devel] [PATCH] fix 32 pv-on-hvm compiling error

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] fix 32 pv-on-hvm compiling error
From: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>
Date: Thu, 23 Nov 2006 15:06:05 +0800
Delivery-date: Wed, 22 Nov 2006 23:06:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccOzdef+sjg1cxSTX6oD+/iSdnMNg==
Thread-topic: [PATCH] fix 32 pv-on-hvm compiling error
- Macro in xen specific page.h is needed by maddr.h, so symbol link it.
- Override pristine linux headers with xen specific ones of the same
name (not sure of this change).

diff -r ea457d9d3fb2 unmodified_drivers/linux-2.6/mkbuildtree
--- a/unmodified_drivers/linux-2.6/mkbuildtree  Mon Nov 20 16:59:07 2006
+++ b/unmodified_drivers/linux-2.6/mkbuildtree  Thu Nov 23 14:15:38 2006
@@ -49,6 +49,7 @@
     ln -sf ${XL}/include/asm-i386/mach-xen/asm/hypervisor.h include/asm
     ln -sf ${XL}/include/asm-i386/mach-xen/asm/hypercall.h include/asm
     ln -sf ${XL}/include/asm-i386/mach-xen/asm/synch_bitops.h
include/asm
+    ln -sf ${XL}/include/asm-i386/mach-xen/asm/page.h include/asm
     ln -sf ${XL}/include/asm-i386/mach-xen/asm/maddr.h include/asm
   ;;
 "ia64")
diff -r ea457d9d3fb2 unmodified_drivers/linux-2.6/overrides.mk
--- a/unmodified_drivers/linux-2.6/overrides.mk Mon Nov 20 16:59:07 2006
+++ b/unmodified_drivers/linux-2.6/overrides.mk Thu Nov 23 14:15:38 2006
@@ -9,4 +9,5 @@
 EXTRA_CFLAGS += -DCONFIG_XEN_BLKDEV_GRANT -DXEN_EVTCHN_MASK_OPS
 EXTRA_CFLAGS += -DCONFIG_XEN_NETDEV_GRANT_RX
-DCONFIG_XEN_NETDEV_GRANT_TX
 EXTRA_CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030202
-EXTRA_CFLAGS += -I$(M)/include -I$(M)/compat-include
-DHAVE_XEN_PLATFORM_COMPAT_H
+EXTRA_CFLAGS += -DHAVE_XEN_PLATFORM_COMPAT_H
+CPPFLAGS := -I$(M)/include $(CPPFLAGS) -I$(M)/compat-include

Thanks, 
Xiaowei 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] fix 32 pv-on-hvm compiling error, Yang, Xiaowei <=