summaryrefslogtreecommitdiffstats
path: root/runtime/stat.c
diff options
context:
space:
mode:
authorhunt <hunt>2007-01-30 17:13:46 +0000
committerhunt <hunt>2007-01-30 17:13:46 +0000
commitd21d36c05265b136246ae2c4ee9b5a38af46f45c (patch)
tree956b757db51e63729c30ca75c2aaccfbaf83e9e2 /runtime/stat.c
parent09ebc996d1301f24f28e2b2b4114935982690464 (diff)
downloadsystemtap-steved-d21d36c05265b136246ae2c4ee9b5a38af46f45c.tar.gz
systemtap-steved-d21d36c05265b136246ae2c4ee9b5a38af46f45c.tar.xz
systemtap-steved-d21d36c05265b136246ae2c4ee9b5a38af46f45c.zip
2007-01-30 Martin Hunt <hunt@redhat.com>
* alloc.c (_stp_alloc_percpu): Don't implement our own; just call __alloc_percpu with appropriate args for the OS version. (_stp_free_percpu): Delete. * map.c (_stp_map_init): When calling kmalloc_node, first call cpu_to_node() to get the proper node number. * stat.c (_stp_stat_del): Call free_percpu() instead of _stp_free_percpu().
Diffstat (limited to 'runtime/stat.c')
-rw-r--r--runtime/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stat.c b/runtime/stat.c
index e00b8220..98a283cf 100644
--- a/runtime/stat.c
+++ b/runtime/stat.c
@@ -143,7 +143,7 @@ exit1:
void _stp_stat_del (Stat st)
{
if (st) {
- _stp_free_percpu (st->sd);
+ free_percpu (st->sd);
kfree (st->agg);
kfree (st);
}