aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric B Munson <ebmunson@us.ibm.com>2009-05-20 13:59:17 +0100
committerEric B Munson <ebmunson@us.ibm.com>2009-05-27 10:21:39 +0100
commit2fb6a52c618d47b319b6a4eb78577cadccff7e00 (patch)
treeb3e6ce9fa21b00162209e1fb8dae000dce04160a
parent018413ee373aa29d4e28b99ee72036f7b7dc50f2 (diff)
downloadlibhugetlbfs-2fb6a52c618d47b319b6a4eb78577cadccff7e00.tar.gz
Move shm segment to 2GB mark
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 <ebmunson@us.ibm.com>
-rw-r--r--tests/shm-perms.c2
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