mmap locking API: convert mmap_sem comments
[linux-2.6-block.git] / drivers / oprofile / buffer_sync.c
index d3b017af7758ffc4e134083d95f7691371ead511..4d7695289edaac57bdea913a8c5942dfe58948f3 100644 (file)
@@ -486,7 +486,7 @@ typedef enum {
 
 /* Sync one of the CPU's buffers into the global event buffer.
  * Here we need to go through each batch of samples punctuated
- * by context switch notes, taking the task's mmap_sem and doing
+ * by context switch notes, taking the task's mmap_lock and doing
  * lookup in task->mm->mmap to convert EIP into dcookie/offset
  * value.
  */