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

[Xen-changelog] [linux-2.6.18-xen] xenbus: Allow to build with old kernels (pre-2.6.6).



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1185464212 -3600
# Node ID 88a17da7f3362126182423100a9d7d4c0d854139
# Parent  726cd201f4cde2be30657ee8690bc8e47260eb6a
xenbus: Allow to build with old kernels (pre-2.6.6).
Original patch by Ben Guthro <bguthro@xxxxxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 drivers/xen/xenbus/xenbus_xs.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 726cd201f4cd -r 88a17da7f336 drivers/xen/xenbus/xenbus_xs.c
--- a/drivers/xen/xenbus/xenbus_xs.c    Wed Jul 25 13:29:33 2007 +0100
+++ b/drivers/xen/xenbus/xenbus_xs.c    Thu Jul 26 16:36:52 2007 +0100
@@ -51,6 +51,10 @@
 #include <xen/platform-compat.h>
 #endif
 
+#ifndef PF_NOFREEZE /* Old kernel (pre-2.6.6). */
+#define PF_NOFREEZE    0
+#endif
+
 struct xs_stored_msg {
        struct list_head list;
 

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


 


Rackspace

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