Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16972
b: refs/heads/master
c: 25ab7cd
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and Linus Torvalds committed Jan 9, 2006
1 parent 62e1b0a commit 4054235
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 71b9625744b7d4a6a2416389a5ba464bdf11f07f
refs/heads/master: 25ab7cd84eebdc1869d236029ada3a7b403de8ba
3 changes: 2 additions & 1 deletion trunk/drivers/oprofile/cpu_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ int alloc_cpu_buffers(void)
for_each_online_cpu(i) {
struct oprofile_cpu_buffer * b = &cpu_buffer[i];

b->buffer = vmalloc(sizeof(struct op_sample) * buffer_size);
b->buffer = vmalloc_node(sizeof(struct op_sample) * buffer_size,
cpu_to_node(i));
if (!b->buffer)
goto fail;

Expand Down

0 comments on commit 4054235

Please sign in to comment.