summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/ChangeLog3
-rw-r--r--runtime/map.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index 01a28730..d90cd67d 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,5 +1,8 @@
2005-11-28 Martin Hunt <hunt@redhat.com>
+ * map.c (_stp_pmap_del): Use _stp_free_percpu() to
+ free pmaps.
+
* map-stat.c (_stp_pmap_new_hstat_log): Fix typo. Call
_stp_pmap_new() instead of _stp_map_new().
diff --git a/runtime/map.c b/runtime/map.c
index 98382b88..70efd365 100644
--- a/runtime/map.c
+++ b/runtime/map.c
@@ -378,7 +378,7 @@ void _stp_pmap_del(MAP map)
_stp_vfree(m->membuf);
_stp_vfree(m);
- free_percpu(map);
+ _stp_vfree_percpu(map);
}
/* sort keynum values */