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 09 of 10] Fix unmodified drivers build for the newer

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 09 of 10] Fix unmodified drivers build for the newer version of the Xen headers
From: <steven.smith@xxxxxxxxxx>
Date: Sun, 4 Oct 2009 16:00:39 +0100
Cc: keir.fraser@xxxxxxxxxx, joserenato.santos@xxxxxx
Delivery-date: Sun, 04 Oct 2009 08:06:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1254668430@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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
# HG changeset patch
# User Steven Smith <steven.smith@xxxxxxxxxxxxx>
# Date 1232548450 0
# Node ID 62eadd38fdb9092dc350c95345efeef5a10a292a
# Parent  d6dfe609da5a07643a1564aa07c1063960903ffc
Fix unmodified drivers build for the newer version of the Xen headers.

Signed-off-by: Steven Smith <steven.smith@xxxxxxxxxx>

diff -r d6dfe609da5a -r 62eadd38fdb9 
unmodified_drivers/linux-2.6/compat-include/xen/xenmb.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/unmodified_drivers/linux-2.6/compat-include/xen/xenmb.h   Wed Jan 21 
14:34:10 2009 +0000
@@ -0,0 +1,8 @@
+#ifndef XENMB_H__
+#define XENMB_H__
+
+#define xen_mb()        mb()
+#define xen_rmb()       rmb()
+#define xen_wmb()       wmb()
+
+#endif /* !XENMB_H__ */
diff -r d6dfe609da5a -r 62eadd38fdb9 unmodified_drivers/linux-2.6/overrides.mk
--- a/unmodified_drivers/linux-2.6/overrides.mk Mon Sep 22 13:10:54 2008 +0100
+++ b/unmodified_drivers/linux-2.6/overrides.mk Wed Jan 21 14:34:10 2009 +0000
@@ -4,7 +4,7 @@
 #
 # (i.e. we need the native config for things like -mregparm, but
 # a Xen kernel to find the right headers)
-_XEN_CPPFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030205
+_XEN_CPPFLAGS += -D__XEN_INTERFACE_VERSION__=0x0003020a
 _XEN_CPPFLAGS += -DCONFIG_XEN_COMPAT=0xffffff
 _XEN_CPPFLAGS += -I$(M)/include -I$(M)/compat-include 
-DHAVE_XEN_PLATFORM_COMPAT_H
 ifeq ($(ARCH),ia64)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>