diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2006-01-19 11:39:33 -0500 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2006-01-19 11:39:33 -0500 |
commit | 944d79559d154c12becde0dab327016cf438f46c (patch) | |
tree | 50c101806f4d3b6585222dda060559eb4f3e005a /drivers/oprofile/cpu_buffer.c | |
parent | d087e4bdd24ebe3ae3d0b265b6573ec901af4b4b (diff) | |
parent | 0f36b018b2e314d45af86449f1a97facb1fbe300 (diff) |
Merge branch 'master' of /usr/src/ntfs-2.6/
Diffstat (limited to 'drivers/oprofile/cpu_buffer.c')
-rw-r--r-- | drivers/oprofile/cpu_buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/oprofile/cpu_buffer.c b/drivers/oprofile/cpu_buffer.c index 026f671ea558..78193e4bbdb5 100644 --- a/drivers/oprofile/cpu_buffer.c +++ b/drivers/oprofile/cpu_buffer.c | |||
@@ -52,7 +52,8 @@ int alloc_cpu_buffers(void) | |||
52 | for_each_online_cpu(i) { | 52 | for_each_online_cpu(i) { |
53 | struct oprofile_cpu_buffer * b = &cpu_buffer[i]; | 53 | struct oprofile_cpu_buffer * b = &cpu_buffer[i]; |
54 | 54 | ||
55 | b->buffer = vmalloc(sizeof(struct op_sample) * buffer_size); | 55 | b->buffer = vmalloc_node(sizeof(struct op_sample) * buffer_size, |
56 | cpu_to_node(i)); | ||
56 | if (!b->buffer) | 57 | if (!b->buffer) |
57 | goto fail; | 58 | goto fail; |
58 | 59 | ||