Address space on s390x can go atm. as high as 2^53,
so raise high address used here to this level.

Signed-off-by: Li Wang <wangli.a...@gmail.com>
Signed-off-by: Jan Stancek <jstan...@redhat.com>
---
 testcases/kernel/syscalls/mmap/mmap15.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testcases/kernel/syscalls/mmap/mmap15.c 
b/testcases/kernel/syscalls/mmap/mmap15.c
index 321d405..49dbba4 100644
--- a/testcases/kernel/syscalls/mmap/mmap15.c
+++ b/testcases/kernel/syscalls/mmap/mmap15.c
@@ -41,7 +41,7 @@
 char *TCID = "mmap15";
 int TST_TOTAL = 1;
 
-#define HIGH_ADDR      (void *)(0x1000000000000)
+#define HIGH_ADDR      (void *)(1L << 53)
 
 static long map_sz;
 
-- 
1.7.1


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to