Merge branch 'serge-next-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sergeh...
[firefly-linux-kernel-4.4.55.git] / include / linux / mm_types.h
index 8967e20cbe57aceb991acac4218eb5d638e867f5..96c5750e3110e7bfd0b58b464738e25aa6bac8ab 100644 (file)
@@ -406,7 +406,7 @@ struct mm_struct {
        spinlock_t                      ioctx_lock;
        struct kioctx_table __rcu       *ioctx_table;
 #endif
-#ifdef CONFIG_MM_OWNER
+#ifdef CONFIG_MEMCG
        /*
         * "owner" points to a task that is regarded as the canonical
         * user/owner of this mm. All of the following must be true in
@@ -510,4 +510,10 @@ static inline void clear_tlb_flush_pending(struct mm_struct *mm)
 }
 #endif
 
+struct vm_special_mapping
+{
+       const char *name;
+       struct page **pages;
+};
+
 #endif /* _LINUX_MM_TYPES_H */