diff options
Diffstat (limited to 'drivers/oprofile/cpu_buffer.c')
-rw-r--r-- | drivers/oprofile/cpu_buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/oprofile/cpu_buffer.c b/drivers/oprofile/cpu_buffer.c index fcf96f608d86..e52c085cd186 100644 --- a/drivers/oprofile/cpu_buffer.c +++ b/drivers/oprofile/cpu_buffer.c | |||
@@ -152,14 +152,14 @@ add_sample(struct oprofile_cpu_buffer *cpu_buf, | |||
152 | struct op_entry entry; | 152 | struct op_entry entry; |
153 | int ret; | 153 | int ret; |
154 | 154 | ||
155 | ret = cpu_buffer_write_entry(&entry); | 155 | ret = op_cpu_buffer_write_entry(&entry); |
156 | if (ret) | 156 | if (ret) |
157 | return ret; | 157 | return ret; |
158 | 158 | ||
159 | entry.sample->eip = pc; | 159 | entry.sample->eip = pc; |
160 | entry.sample->event = event; | 160 | entry.sample->event = event; |
161 | 161 | ||
162 | ret = cpu_buffer_write_commit(&entry); | 162 | ret = op_cpu_buffer_write_commit(&entry); |
163 | if (ret) | 163 | if (ret) |
164 | return ret; | 164 | return ret; |
165 | 165 | ||