X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=mm%2Finternal.h;h=17bc0df273bb5c84937f8973c0489aedbf0279a5;hb=9121999db5232e1d81270df5d0787df1492408e7;hp=22ec8d2b0fb8d641dabc76090b9062e9a5c557be;hpb=5e5027bd26ed4df735d29e66cd5c1c9b5959a587;p=karo-tx-linux.git diff --git a/mm/internal.h b/mm/internal.h index 22ec8d2b0fb8..17bc0df273bb 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -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