diff options
Diffstat (limited to 'mm/internal.h')
-rw-r--r-- | mm/internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/internal.h b/mm/internal.h index cb7d92d0a46d..a4b927cdca09 100644 --- a/mm/internal.h +++ b/mm/internal.h | |||
@@ -105,9 +105,10 @@ static inline int is_mlocked_vma(struct vm_area_struct *vma, struct page *page) | |||
105 | } | 105 | } |
106 | 106 | ||
107 | /* | 107 | /* |
108 | * must be called with vma's mmap_sem held for read, and page locked. | 108 | * must be called with vma's mmap_sem held for read or write, and page locked. |
109 | */ | 109 | */ |
110 | extern void mlock_vma_page(struct page *page); | 110 | extern void mlock_vma_page(struct page *page); |
111 | extern void munlock_vma_page(struct page *page); | ||
111 | 112 | ||
112 | /* | 113 | /* |
113 | * Clear the page's PageMlocked(). This can be useful in a situation where | 114 | * Clear the page's PageMlocked(). This can be useful in a situation where |