Currently the 32bit test fails on ppc64 because ld.so is mapped in at
1GB.  This patch moves the shm segment address to avoid the collision.

Signed-off-by: Eric B Munson <ebmun...@us.ibm.com>
---
 tests/shm-perms.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/shm-perms.c b/tests/shm-perms.c
index 47d4d6b..841c155 100644
--- a/tests/shm-perms.c
+++ b/tests/shm-perms.c
@@ -34,7 +34,7 @@
 
 #define SEGMENT_SIZE   ((size_t)0x4000000)
 #define SEGMENT_KEY    0x82ba15ff
-#define SEGMENT_ADDR   ((void *)0x40000000)
+#define SEGMENT_ADDR   ((void *)0x80000000)
 
 #define STRIDE         0x200000
 
-- 
1.6.1.2


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to