diff options
Diffstat (limited to 'kernel/fork.c')
| -rw-r--r-- | kernel/fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 59e3dcc5b8f2..0d53eb0dfb6f 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
| @@ -1099,12 +1099,12 @@ static void rt_mutex_init_task(struct task_struct *p) | |||
| 1099 | #endif | 1099 | #endif |
| 1100 | } | 1100 | } |
| 1101 | 1101 | ||
| 1102 | #ifdef CONFIG_MM_OWNER | 1102 | #ifdef CONFIG_MEMCG |
| 1103 | void mm_init_owner(struct mm_struct *mm, struct task_struct *p) | 1103 | void mm_init_owner(struct mm_struct *mm, struct task_struct *p) |
| 1104 | { | 1104 | { |
| 1105 | mm->owner = p; | 1105 | mm->owner = p; |
| 1106 | } | 1106 | } |
| 1107 | #endif /* CONFIG_MM_OWNER */ | 1107 | #endif /* CONFIG_MEMCG */ |
| 1108 | 1108 | ||
| 1109 | /* | 1109 | /* |
| 1110 | * Initialize POSIX timer handling for a single task. | 1110 | * Initialize POSIX timer handling for a single task. |
