diff options
Diffstat (limited to 'include/linux/rmap.h')
| -rw-r--r-- | include/linux/rmap.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h index d9d7e7e56352..c4c559a45dc8 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h | |||
| @@ -198,7 +198,7 @@ int page_referenced(struct page *, int is_locked, | |||
| 198 | int try_to_unmap(struct page *, enum ttu_flags flags); | 198 | int try_to_unmap(struct page *, enum ttu_flags flags); |
| 199 | 199 | ||
| 200 | /* | 200 | /* |
| 201 | * Called from mm/filemap_xip.c to unmap empty zero page | 201 | * Used by uprobes to replace a userspace page safely |
| 202 | */ | 202 | */ |
| 203 | pte_t *__page_check_address(struct page *, struct mm_struct *, | 203 | pte_t *__page_check_address(struct page *, struct mm_struct *, |
| 204 | unsigned long, spinlock_t **, int); | 204 | unsigned long, spinlock_t **, int); |
| @@ -246,7 +246,6 @@ int page_mapped_in_vma(struct page *page, struct vm_area_struct *vma); | |||
| 246 | * arg: passed to rmap_one() and invalid_vma() | 246 | * arg: passed to rmap_one() and invalid_vma() |
| 247 | * rmap_one: executed on each vma where page is mapped | 247 | * rmap_one: executed on each vma where page is mapped |
| 248 | * done: for checking traversing termination condition | 248 | * done: for checking traversing termination condition |
| 249 | * file_nonlinear: for handling file nonlinear mapping | ||
| 250 | * anon_lock: for getting anon_lock by optimized way rather than default | 249 | * anon_lock: for getting anon_lock by optimized way rather than default |
| 251 | * invalid_vma: for skipping uninterested vma | 250 | * invalid_vma: for skipping uninterested vma |
| 252 | */ | 251 | */ |
| @@ -255,7 +254,6 @@ struct rmap_walk_control { | |||
| 255 | int (*rmap_one)(struct page *page, struct vm_area_struct *vma, | 254 | int (*rmap_one)(struct page *page, struct vm_area_struct *vma, |
| 256 | unsigned long addr, void *arg); | 255 | unsigned long addr, void *arg); |
| 257 | int (*done)(struct page *page); | 256 | int (*done)(struct page *page); |
| 258 | int (*file_nonlinear)(struct page *, struct address_space *, void *arg); | ||
| 259 | struct anon_vma *(*anon_lock)(struct page *page); | 257 | struct anon_vma *(*anon_lock)(struct page *page); |
| 260 | bool (*invalid_vma)(struct vm_area_struct *vma, void *arg); | 258 | bool (*invalid_vma)(struct vm_area_struct *vma, void *arg); |
| 261 | }; | 259 | }; |
