diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-01-17 21:52:42 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-01-17 21:52:42 -0500 |
commit | 7ee3e80ec0b7880c33d0ca3018025855d9dd5123 (patch) | |
tree | c39e234447fed3ca04c6467784fae5ddc85ce7d6 /runtime/counter.c | |
parent | 2b7f11a05877405a3dd232ac297e11f9d8253c2d (diff) | |
parent | af3047833424103c4e17728e849670da865d37c3 (diff) | |
download | systemtap-steved-7ee3e80ec0b7880c33d0ca3018025855d9dd5123.tar.gz systemtap-steved-7ee3e80ec0b7880c33d0ca3018025855d9dd5123.tar.xz systemtap-steved-7ee3e80ec0b7880c33d0ca3018025855d9dd5123.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/counter.c')
-rw-r--r-- | runtime/counter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/counter.c b/runtime/counter.c index def734f6..42555dfa 100644 --- a/runtime/counter.c +++ b/runtime/counter.c @@ -54,7 +54,7 @@ typedef struct _counter *Counter; */ Counter _stp_counter_init (void) { - Counter cnt = alloc_percpu (struct _counter); + Counter cnt = _stp_alloc_percpu (struct _counter); #if NEED_COUNTER_LOCKS == 1 { int i; @@ -135,7 +135,7 @@ int64_t _stp_counter_get (Counter cnt, int clear) */ void _stp_counter_free (Counter cnt) { - free_percpu (cnt); + _stp_free_percpu (cnt); } /** @} */ |