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-ppc-devel

[XenPPC] [xenppc-unstable] [ppc] guard PAGE_* defs since they may confli

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [ppc] guard PAGE_* defs since they may conflict with system headers
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 08 Jun 2006 21:25:33 +0000
Delivery-date: Thu, 08 Jun 2006 14:29:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 7389b68cd017fa621382c00f67e468cfd36a47c0
# Parent  88577dca5a6a34cd29186f195e561c366a242d0e
[ppc] guard PAGE_* defs since they may conflict with system headers

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 tools/libxc/xc_private.h |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 88577dca5a6a -r 7389b68cd017 tools/libxc/xc_private.h
--- a/tools/libxc/xc_private.h  Tue Jun 06 17:19:39 2006 -0400
+++ b/tools/libxc/xc_private.h  Thu Jun 08 17:06:17 2006 -0400
@@ -29,8 +29,12 @@
 #endif
 
 
+#ifndef PAGE_SHIFT
 #define PAGE_SHIFT              XC_PAGE_SHIFT
+#endif
+#ifndef PAGE_SIZE
 #define PAGE_SIZE               (1UL << PAGE_SHIFT)
+#endif
 #define PAGE_MASK               (~(PAGE_SIZE-1))
 
 #define ERROR(_m, _a...)                                \

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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] [ppc] guard PAGE_* defs since they may conflict with system headers, Xen patchbot-xenppc-unstable <=