diff options
author | Vladimir Davydov <vdavydov@parallels.com> | 2014-08-08 14:22:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 15:57:23 -0700 |
commit | 33144e8429bd7fceacbb869a7f5061db42e13fe6 (patch) | |
tree | 7f77c99bfe7532a7c9dd44e0de3a380e4d97d501 /include | |
parent | 4f7d461433bb4a4deee61baefdac6cd1a1ecb546 (diff) | |
download | linux-stable-33144e8429bd7fceacbb869a7f5061db42e13fe6.tar.gz linux-stable-33144e8429bd7fceacbb869a7f5061db42e13fe6.tar.bz2 linux-stable-33144e8429bd7fceacbb869a7f5061db42e13fe6.zip |
kernel/fork.c: make mm_init_owner static
It's only used in fork.c:mm_init().
Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 4fcf82a4d243..b21e9218c0fd 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2961,15 +2961,10 @@ static inline void inc_syscw(struct task_struct *tsk) #ifdef CONFIG_MEMCG extern void mm_update_next_owner(struct mm_struct *mm); -extern void mm_init_owner(struct mm_struct *mm, struct task_struct *p); #else 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 */ static inline unsigned long task_rlimit(const struct task_struct *tsk, |