]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - drivers/tty/vt/consolemap.c
mmap locking API: convert mmap_sem comments
[thirdparty/linux.git] / drivers / tty / vt / consolemap.c
index b28aa0d289f8949746570801ec07237d8c24c3fd..c1be96bb3ecfb829ec4802e7f1116bb94837a84d 100644 (file)
@@ -12,7 +12,7 @@
  * Fix bug in inverse translation. Stanislav Voronyi <stas@cnti.uanet.kharkov.ua>, Dec 1998
  *
  * In order to prevent the following circular lock dependency:
- *   &mm->mmap_sem --> cpu_hotplug.lock --> console_lock --> &mm->mmap_sem
+ *   &mm->mmap_lock --> cpu_hotplug.lock --> console_lock --> &mm->mmap_lock
  *
  * We cannot allow page fault to happen while holding the console_lock.
  * Therefore, all the userspace copy operations have to be done outside