|
@@ -2961,15 +2961,10 @@ static inline void inc_syscw(struct task_struct *tsk)
|
|
|
|
|
|
#ifdef CONFIG_MEMCG
|
|
#ifdef CONFIG_MEMCG
|
|
extern void mm_update_next_owner(struct mm_struct *mm);
|
|
extern void mm_update_next_owner(struct mm_struct *mm);
|
|
-extern void mm_init_owner(struct mm_struct *mm, struct task_struct *p);
|
|
|
|
#else
|
|
#else
|
|
static inline void mm_update_next_owner(struct mm_struct *mm)
|
|
static inline void mm_update_next_owner(struct mm_struct *mm)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
-
|
|
|
|
-static inline void mm_init_owner(struct mm_struct *mm, struct task_struct *p)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
#endif /* CONFIG_MEMCG */
|
|
#endif /* CONFIG_MEMCG */
|
|
|
|
|
|
static inline unsigned long task_rlimit(const struct task_struct *tsk,
|
|
static inline unsigned long task_rlimit(const struct task_struct *tsk,
|