mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
riscv: smp: Remove outdated comment about disabling preemption
Commitf1a0a376ca("sched/core: Initialize the idle task with preemption disabled") removed a call to preempt_disable(), but not the associated comment. Remove the outdated comment. Fixes:f1a0a376ca("sched/core: Initialize the idle task with preemption disabled") Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn> Link: https://patch.msgid.link/20260204-riscv-smp-comment-update-2026-01-v1-1-8b77aa181530@iscas.ac.cn Signed-off-by: Paul Walmsley <pjw@kernel.org>
This commit is contained in:
parent
7d7c2d1c48
commit
fe0cf82fde
|
|
@ -259,10 +259,6 @@ asmlinkage __visible void smp_callin(void)
|
|||
#ifndef CONFIG_HOTPLUG_PARALLEL
|
||||
complete(&cpu_running);
|
||||
#endif
|
||||
/*
|
||||
* Disable preemption before enabling interrupts, so we don't try to
|
||||
* schedule a CPU that hasn't actually started yet.
|
||||
*/
|
||||
local_irq_enable();
|
||||
cpu_startup_entry(CPUHP_AP_ONLINE_IDLE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user