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

[XenPPC] [xenppc-unstable] [ppc] guard PAGE_* defs since they may conflict with system headers



# 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


 


Rackspace

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