summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/ChangeLog4
-rw-r--r--runtime/alloc.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index 01772044..8ba8be42 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,5 +1,9 @@
2005-11-08 Martin Hunt <hunt@redhat.com>
+ * alloc.c (__stp_valloc_percpu): Fix call to vmalloc_node.
+
+2005-11-08 Martin Hunt <hunt@redhat.com>
+
* map.c (_stp_map_init): New function. Extracted from _stp_map_new()
so it can be used in _stp_pmap_new().
(_stp_map_new): Call _stp_map_init().
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;