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/
Home Products Support Community News


[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 @@
+#ifndef PAGE_SHIFT
 #define PAGE_SHIFT              XC_PAGE_SHIFT
+#ifndef PAGE_SIZE
 #define PAGE_SIZE               (1UL << PAGE_SHIFT)
 #define PAGE_MASK               (~(PAGE_SIZE-1))
 #define ERROR(_m, _a...)                                \

Xen-ppc-devel mailing list

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