summaryrefslogtreecommitdiff
path: root/kernel/entry/common.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 /kernel/entry/common.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 'kernel/entry/common.c')
-rw-r--r--kernel/entry/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/entry/common.c b/kernel/entry/common.c
index 5b6934e23c21..e33691d5adf7 100644
--- a/kernel/entry/common.c
+++ b/kernel/entry/common.c
@@ -98,7 +98,7 @@ __always_inline unsigned long exit_to_user_mode_loop(struct pt_regs *regs,
local_irq_enable_exit_to_user(ti_work);
- if (ti_work & _TIF_NEED_RESCHED)
+ if (ti_work & (_TIF_NEED_RESCHED | _TIF_NEED_RESCHED_LAZY))
schedule();
if (ti_work & _TIF_UPROBE)