diff mbox

[1/6] core/test/run-msg: don't depend on unittest mem layout

Message ID 20170824073948.29425-2-stewart@linux.vnet.ibm.com
State Accepted
Headers show

Commit Message

Stewart Smith Aug. 24, 2017, 7:39 a.m. UTC
In the world of unit tests all "RAM" is valid

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
---
 core/test/run-msg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/core/test/run-msg.c b/core/test/run-msg.c
index 3a7b7dd395f2..2cee5155a4c2 100644
--- a/core/test/run-msg.c
+++ b/core/test/run-msg.c
@@ -24,7 +24,7 @@  static bool zalloc_should_fail = false;
 static int zalloc_should_fail_after = 0;
 
 /* Fake top_of_ram -- needed for API's */
-unsigned long top_of_ram = 16ULL * 1024 * 1024 * 1024;
+unsigned long top_of_ram = 0xffffffffffffffffULL;
 
 static void *zalloc(size_t size)
 {