From 872d26246196a87da8551661635cce52c8e5ed3a Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 7 Dec 2005 19:42:44 +0000 Subject: 2005-12-07 Martin Hunt * pmaps/*.c: Change pmap type from MAP to PMAP. * pmaps/pmap.test: Adjust results to match the more compact histogram format. * maps/map.test: Adjust results to match the more compact histogram format. --- runtime/tests/pmaps/si.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'runtime/tests/pmaps/si.c') diff --git a/runtime/tests/pmaps/si.c b/runtime/tests/pmaps/si.c index 49eb3caf..8b05da74 100644 --- a/runtime/tests/pmaps/si.c +++ b/runtime/tests/pmaps/si.c @@ -13,9 +13,12 @@ int main () { - MAP map = _stp_pmap_new_si(4); + PMAP map = _stp_pmap_new_si(4); int64_t x; + if (!map) + return -1; + /* put some data in. _processor_number is a global hack that allows */ /* us to set the current emulated cpu number for our userspace tests. */ /* Note that we set values based on the cpu number just to show that */ -- cgit