diff options
Diffstat (limited to 'kernel/trace/ring_buffer.c')
-rw-r--r-- | kernel/trace/ring_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index 54a30986493a..6b8dac02364f 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c | |||
@@ -232,7 +232,7 @@ static int rb_allocate_pages(struct ring_buffer_per_cpu *cpu_buffer, | |||
232 | 232 | ||
233 | for (i = 0; i < nr_pages; i++) { | 233 | for (i = 0; i < nr_pages; i++) { |
234 | page = kzalloc_node(ALIGN(sizeof(*page), cache_line_size()), | 234 | page = kzalloc_node(ALIGN(sizeof(*page), cache_line_size()), |
235 | GFP_KERNEL, cpu_to_node(i)); | 235 | GFP_KERNEL, cpu_to_node(cpu_buffer->cpu)); |
236 | if (!page) | 236 | if (!page) |
237 | goto free_pages; | 237 | goto free_pages; |
238 | list_add(&page->list, &pages); | 238 | list_add(&page->list, &pages); |