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

[Xen-changelog] [linux-2.6.18-xen] fs/compat_ioctl.c: don't include Xen

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] fs/compat_ioctl.c: don't include Xen headers in non-Xen builds
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 08 Apr 2008 02:02:04 -0700
Delivery-date: Tue, 08 Apr 2008 02:07:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1207311088 -3600
# Node ID 70acfc9814c97e3f57d1e502789f2fe0dce917c9
# Parent  3cd6b2bef0cec5997951d2667e7c96f7dcb1fd9d
fs/compat_ioctl.c: don't include Xen headers in non-Xen builds

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 fs/compat_ioctl.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 3cd6b2bef0ce -r 70acfc9814c9 fs/compat_ioctl.c
--- a/fs/compat_ioctl.c Fri Apr 04 10:21:02 2008 +0100
+++ b/fs/compat_ioctl.c Fri Apr 04 13:11:28 2008 +0100
@@ -124,10 +124,12 @@
 #include <linux/dvb/video.h>
 #include <linux/lp.h>
 
+#ifdef CONFIG_XEN
 #include <xen/interface/xen.h>
 #include <xen/public/evtchn.h>
 #include <xen/public/privcmd.h>
 #include <xen/compat_ioctl.h>
+#endif
 
 /* Aiee. Someone does not find a difference between int and long */
 #define EXT2_IOC32_GETFLAGS               _IOR('f', 1, int)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] fs/compat_ioctl.c: don't include Xen headers in non-Xen builds, Xen patchbot-linux-2.6.18-xen <=