diff options
Diffstat (limited to 'include/linux/sched/mm.h')
-rw-r--r-- | include/linux/sched/mm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h index 3a19c253bdb1..ae53e413fb13 100644 --- a/include/linux/sched/mm.h +++ b/include/linux/sched/mm.h | |||
@@ -84,6 +84,12 @@ static inline bool mmget_not_zero(struct mm_struct *mm) | |||
84 | 84 | ||
85 | /* mmput gets rid of the mappings and all user-space */ | 85 | /* mmput gets rid of the mappings and all user-space */ |
86 | extern void mmput(struct mm_struct *); | 86 | extern void mmput(struct mm_struct *); |
87 | #ifdef CONFIG_MMU | ||
88 | /* same as above but performs the slow path from the async context. Can | ||
89 | * be called from the atomic context as well | ||
90 | */ | ||
91 | void mmput_async(struct mm_struct *); | ||
92 | #endif | ||
87 | 93 | ||
88 | /* Grab a reference to a task's mm, if it is not already going away */ | 94 | /* Grab a reference to a task's mm, if it is not already going away */ |
89 | extern struct mm_struct *get_task_mm(struct task_struct *task); | 95 | extern struct mm_struct *get_task_mm(struct task_struct *task); |