summaryrefslogtreecommitdiffstats
path: root/core/mem_region.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-05-12 18:12:20 +0800
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-21 14:37:16 +1000
commit48a3a132ec5f47951a103ad317d383204fa41d38 (patch)
tree43e4b87a6dae454c7d368593b792967dd45050e3 /core/mem_region.c
parent1861dc5a68ba3d250bdbaf59f062b3adb309288f (diff)
downloadblackbird-skiboot-48a3a132ec5f47951a103ad317d383204fa41d38.tar.gz
blackbird-skiboot-48a3a132ec5f47951a103ad317d383204fa41d38.zip
core/test: Use skiboot's own malloc for mem_region tests
Comments in the run-mem_region test imply that it uses skiboot's own malloc for the malloc implementation, but this isn't true; a malloc inside the mem_region code itself will use the glibc malloc. This change implements the intention of the test, and uses skiboot malloc for the file-under-test. real_malloc() is available for actual glibc mallocs. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/mem_region.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud