[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 09 of 10] Fix unmodified drivers build for the newer version of the Xen headers



# 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.