diff options
author | hunt <hunt> | 2005-11-08 19:58:42 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-11-08 19:58:42 +0000 |
commit | e4df1d1b938bd5aca7303aedaee63d336d029d10 (patch) | |
tree | e940025be27d6149aa1afecd67f3e2d91cfaf056 /runtime/alloc.c | |
parent | 7ba70af105ed918b5b07e5bba8b5d27a8d911249 (diff) | |
download | systemtap-steved-e4df1d1b938bd5aca7303aedaee63d336d029d10.tar.gz systemtap-steved-e4df1d1b938bd5aca7303aedaee63d336d029d10.tar.xz systemtap-steved-e4df1d1b938bd5aca7303aedaee63d336d029d10.zip |
2005-11-08 Martin Hunt <hunt@redhat.com>
* alloc.c (__stp_valloc_percpu): Fix call to vmalloc_node.
Diffstat (limited to 'runtime/alloc.c')
-rw-r--r-- | runtime/alloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/alloc.c b/runtime/alloc.c index c2c3d010..99ae90ce 100644 --- a/runtime/alloc.c +++ b/runtime/alloc.c @@ -157,8 +157,7 @@ static void *__stp_valloc_percpu(size_t size, size_t align) for (i = 0; i < NR_CPUS; i++) { if (!cpu_possible(i)) continue; - pdata->ptrs[i] = vmalloc_node(size, GFP_KERNEL, - cpu_to_node(i)); + pdata->ptrs[i] = vmalloc_node(size, cpu_to_node(i)); if (!pdata->ptrs[i]) goto unwind_oom; |