]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - mm/mmap.c
mm: Fix problem of parameter in note
[net-next-2.6.git] / mm / mmap.c
index 8101de490c73941ab8815733a3899c614cdb8cb7..26892e346d8ffab12e53f9f14b4c76bcb8f3b5d8 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -905,7 +905,7 @@ void vm_stat_account(struct mm_struct *mm, unsigned long flags,
 #endif /* CONFIG_PROC_FS */
 
 /*
- * The caller must hold down_write(current->mm->mmap_sem).
+ * The caller must hold down_write(&current->mm->mmap_sem).
  */
 
 unsigned long do_mmap_pgoff(struct file *file, unsigned long addr,