summaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/buffer_sync.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2008-12-04 16:27:00 +0100
committerRobert Richter <robert.richter@amd.com>2008-12-10 14:20:16 +0100
commitfbc9bf9f0ed4f0fbc47dcb5b1c26c28c93b60e33 (patch)
tree30cf2c1e7e2e7c0277c61758280edcbcd9689292 /drivers/oprofile/buffer_sync.c
parentbf589e32960181fa8cbca7bfdd92265e49dc2dfa (diff)
oprofile: moving cpu_buffer_reset() to cpu_buffer.h
This is in preparation for changes in the cpu buffer implementation. Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile/buffer_sync.c')
-rw-r--r--drivers/oprofile/buffer_sync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/oprofile/buffer_sync.c b/drivers/oprofile/buffer_sync.c
index aed286c3f16..944a5832d9e 100644
--- a/drivers/oprofile/buffer_sync.c
+++ b/drivers/oprofile/buffer_sync.c
@@ -548,6 +548,7 @@ void sync_buffer(int cpu)
/* Remember, only we can modify tail_pos */
+ cpu_buffer_reset(cpu);
#ifndef CONFIG_OPROFILE_IBS
available = cpu_buffer_entries(cpu_buf);