aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/oprofile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/oprofile')
-rw-r--r--drivers/oprofile/buffer_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/oprofile/buffer_sync.c b/drivers/oprofile/buffer_sync.c
index b55cd23ffdef..774b081b9b7f 100644
--- a/drivers/oprofile/buffer_sync.c
+++ b/drivers/oprofile/buffer_sync.c
@@ -272,7 +272,7 @@ static void increment_tail(struct oprofile_cpu_buffer *b)
272{ 272{
273 unsigned long new_tail = b->tail_pos + 1; 273 unsigned long new_tail = b->tail_pos + 1;
274 274
275 rmb(); /* be sure fifo pointers are synchromized */ 275 rmb(); /* be sure fifo pointers are synchronized */
276 276
277 if (new_tail < b->buffer_size) 277 if (new_tail < b->buffer_size)
278 b->tail_pos = new_tail; 278 b->tail_pos = new_tail;