From: Bibo Mao Date: Sat, 6 Sep 2025 06:49:52 +0000 (+0800) Subject: LoongArch: Remove clockevents shutdown call on offlining X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d55dd6f5e47dd85ab2086b62f7a747d3f8be0fa0;p=thirdparty%2Fkernel%2Fstable.git LoongArch: Remove clockevents shutdown call on offlining The clockevents core already detached and unregistered it at this stage. Signed-off-by: Bibo Mao Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/all/20250906064952.3749122-3-maobibo@loongson.cn --- diff --git a/arch/loongarch/kernel/time.c b/arch/loongarch/kernel/time.c index f3092f2de8b50..6fb92cc1a4c92 100644 --- a/arch/loongarch/kernel/time.c +++ b/arch/loongarch/kernel/time.c @@ -112,8 +112,6 @@ static int arch_timer_starting(unsigned int cpu) static int arch_timer_dying(unsigned int cpu) { - constant_set_state_shutdown(this_cpu_ptr(&constant_clockevent_device)); - /* Clear Timer Interrupt */ write_csr_tintclear(CSR_TINTCLR_TI);