aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 60e0e4a592d2..7bf0bd882fc3 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1130,6 +1130,11 @@ struct page *follow_page(struct vm_area_struct *, unsigned long address,
1130#define FOLL_GET 0x04 /* do get_page on page */ 1130#define FOLL_GET 0x04 /* do get_page on page */
1131#define FOLL_ANON 0x08 /* give ZERO_PAGE if no pgtable */ 1131#define FOLL_ANON 0x08 /* give ZERO_PAGE if no pgtable */
1132 1132
1133typedef int (*pte_fn_t)(pte_t *pte, struct page *pmd_page, unsigned long addr,
1134 void *data);
1135extern int apply_to_page_range(struct mm_struct *mm, unsigned long address,
1136 unsigned long size, pte_fn_t fn, void *data);
1137
1133#ifdef CONFIG_PROC_FS 1138#ifdef CONFIG_PROC_FS
1134void vm_stat_account(struct mm_struct *, unsigned long, struct file *, long); 1139void vm_stat_account(struct mm_struct *, unsigned long, struct file *, long);
1135#else 1140#else