diff options
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) | |||
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 | ||