From d21d36c05265b136246ae2c4ee9b5a38af46f45c Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 30 Jan 2007 17:13:46 +0000 Subject: 2007-01-30 Martin Hunt * 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(). --- runtime/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/stat.c') 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); } -- cgit