diff options
author | Robert Richter <robert.richter@amd.com> | 2008-12-04 16:27:00 +0100 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2008-12-10 14:20:16 +0100 |
commit | fbc9bf9f0ed4f0fbc47dcb5b1c26c28c93b60e33 (patch) | |
tree | 30cf2c1e7e2e7c0277c61758280edcbcd9689292 /drivers/oprofile/buffer_sync.c | |
parent | bf589e32960181fa8cbca7bfdd92265e49dc2dfa (diff) | |
download | linux-fbc9bf9f0ed4f0fbc47dcb5b1c26c28c93b60e33.tar.gz linux-fbc9bf9f0ed4f0fbc47dcb5b1c26c28c93b60e33.tar.bz2 linux-fbc9bf9f0ed4f0fbc47dcb5b1c26c28c93b60e33.zip |
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.c | 1 |
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) /* Remember, only we can modify tail_pos */ + cpu_buffer_reset(cpu); #ifndef CONFIG_OPROFILE_IBS available = cpu_buffer_entries(cpu_buf); |