diff options
Diffstat (limited to 'drivers/oprofile/cpu_buffer.c')
-rw-r--r-- | drivers/oprofile/cpu_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/oprofile/cpu_buffer.c b/drivers/oprofile/cpu_buffer.c index e859d23cfc57..1b6590746be4 100644 --- a/drivers/oprofile/cpu_buffer.c +++ b/drivers/oprofile/cpu_buffer.c | |||
@@ -258,7 +258,7 @@ op_add_code(struct oprofile_cpu_buffer *cpu_buf, unsigned long backtrace, | |||
258 | sample->event = flags; | 258 | sample->event = flags; |
259 | 259 | ||
260 | if (size) | 260 | if (size) |
261 | sample->data[0] = (unsigned long)task; | 261 | op_cpu_buffer_add_data(&entry, (unsigned long)task); |
262 | 262 | ||
263 | op_cpu_buffer_write_commit(&entry); | 263 | op_cpu_buffer_write_commit(&entry); |
264 | 264 | ||