]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/internal.h
p54pci: fix bugs in p54p_check_tx_ring
[karo-tx-linux.git] / mm / internal.h
index 22ec8d2b0fb8d641dabc76090b9062e9a5c557be..17bc0df273bb5c84937f8973c0489aedbf0279a5 100644 (file)
@@ -107,9 +107,10 @@ static inline int is_mlocked_vma(struct vm_area_struct *vma, struct page *page)
 }
 
 /*
- * must be called with vma's mmap_sem held for read, and page locked.
+ * must be called with vma's mmap_sem held for read or write, and page locked.
  */
 extern void mlock_vma_page(struct page *page);
+extern void munlock_vma_page(struct page *page);
 
 /*
  * Clear the page's PageMlocked().  This can be useful in a situation where