summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhunt <hunt>2005-11-28 20:51:06 +0000
committerhunt <hunt>2005-11-28 20:51:06 +0000
commitcee621f2087a78f222c5d3da9db766db83abaef1 (patch)
treec835054b23d50b650322a51a5594a3e19fa54958
parentcfedbab4fefea3f09a29c1e0f26ac3373e83e3ea (diff)
downloadsystemtap-steved-cee621f2087a78f222c5d3da9db766db83abaef1.tar.gz
systemtap-steved-cee621f2087a78f222c5d3da9db766db83abaef1.tar.xz
systemtap-steved-cee621f2087a78f222c5d3da9db766db83abaef1.zip
2005-11-28 Martin Hunt <hunt@redhat.com>
* map.c (_stp_pmap_del): Use _stp_free_percpu() to free pmaps.
-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 */