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

[Xen-changelog] [linux-2.6.18-xen] ia64, xencomm: fix 1028:6f7bda25a4de



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1284533207 -3600
# Node ID 039cf55773a9c627844b17a2c2aa2df749807c4c
# Parent  04cd43bee272b8493b809c52cae5cc2577019002
ia64, xencomm: fix 1028:6f7bda25a4de

Because xen-compat.h defines __XEN_INTERFACE_VERSION__ only if __XEN__
or __XEN_TOOLS__ is defined, I added #include xen-compat.h before
#define __XEN_TOOLS__.

I confirmed that dom0 kernel could be built without warnings and
guests could be created.

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
---
 arch/ia64/xen/xcom_privcmd.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 04cd43bee272 -r 039cf55773a9 arch/ia64/xen/xcom_privcmd.c
--- a/arch/ia64/xen/xcom_privcmd.c      Mon Sep 13 17:41:22 2010 +0100
+++ b/arch/ia64/xen/xcom_privcmd.c      Wed Sep 15 07:46:47 2010 +0100
@@ -16,6 +16,8 @@
  * Authors: Hollis Blanchard <hollisb@xxxxxxxxxx>
  *          Tristan Gingold <tristan.gingold@xxxxxxxx>
  */
+#include <xen/interface/xen-compat.h>
+#define __XEN_TOOLS__
 #include <linux/types.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>

_______________________________________________
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®.