diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-24 14:09:29 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-24 14:09:31 +1000 |
commit | e825fe46efee5c4bc11f3e08c24794f3ddec032b (patch) | |
tree | 639c45fe0044626f1cd0d646be6415e9289c47f6 /core | |
parent | c168b37a3d662ad2ab0175c940eda072b04fda9c (diff) | |
download | skiboot-e825fe46efee5c4bc11f3e08c24794f3ddec032b.zip skiboot-e825fe46efee5c4bc11f3e08c24794f3ddec032b.tar.gz skiboot-e825fe46efee5c4bc11f3e08c24794f3ddec032b.tar.bz2 |
core/test/run-msg: don't depend on unittest mem layout
In the world of unit tests all "RAM" is valid
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/test/run-msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/test/run-msg.c b/core/test/run-msg.c index 3a7b7dd..2cee515 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) { |