aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/buffer_sync.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2008-12-04 10:27:00 -0500
committerRobert Richter <robert.richter@amd.com>2008-12-10 08:20:16 -0500
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 aed286c3f16e..944a5832d9e4 100644
--- a/drivers/oprofile/buffer_sync.c
+++ b/drivers/oprofile/buffer_sync.c
@@ -548,6 +548,7 @@ void sync_buffer(int cpu)
548 548
549 /* Remember, only we can modify tail_pos */ 549 /* Remember, only we can modify tail_pos */
550 550
551 cpu_buffer_reset(cpu);
551#ifndef CONFIG_OPROFILE_IBS 552#ifndef CONFIG_OPROFILE_IBS
552 available = cpu_buffer_entries(cpu_buf); 553 available = cpu_buffer_entries(cpu_buf);
553 554