summaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2024-11-22 15:44:09 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2024-11-22 15:44:09 +0800
commit1b9bc4207e81206ea6b6a906e01438b7782c3a58 (patch)
treed636b0f6c5a176ff195579a5873b55ec031574cc /fs/exec.c
parentadc218676eef25575469234709c2d87185ca223a (diff)
parent771d271b2b908cf660d6789bb4355ed553250edc (diff)
Merge tag 'sched-core-2024-11-18' into loongarch-next
LoongArch architecture changes for 6.13 depend on the sched-core changes (PREEMPT_LAZY) to completely support RT, so merge them to create a base.
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 6c53920795c2..aaa605529a75 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -990,7 +990,7 @@ static int exec_mmap(struct mm_struct *mm)
active_mm = tsk->active_mm;
tsk->active_mm = mm;
tsk->mm = mm;
- mm_init_cid(mm);
+ mm_init_cid(mm, tsk);
/*
* This prevents preemption while active_mm is being loaded and
* it and mm are being updated, which could cause problems for