summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/vmacache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmacache.c b/mm/vmacache.c
index b6e3662fe339..fd09dc9c6812 100644
--- a/mm/vmacache.c
+++ b/mm/vmacache.c
@@ -52,7 +52,7 @@ void vmacache_flush_all(struct mm_struct *mm)
52 * Also handle the case where a kernel thread has adopted this mm via use_mm(). 52 * Also handle the case where a kernel thread has adopted this mm via use_mm().
53 * That kernel thread's vmacache is not applicable to this mm. 53 * That kernel thread's vmacache is not applicable to this mm.
54 */ 54 */
55static bool vmacache_valid_mm(struct mm_struct *mm) 55static inline bool vmacache_valid_mm(struct mm_struct *mm)
56{ 56{
57 return current->mm == mm && !(current->flags & PF_KTHREAD); 57 return current->mm == mm && !(current->flags & PF_KTHREAD);
58} 58}