]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
LoongArch: Remove clockevents shutdown call on offlining
authorBibo Mao <maobibo@loongson.cn>
Sat, 6 Sep 2025 06:49:52 +0000 (14:49 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 9 Sep 2025 11:39:00 +0000 (13:39 +0200)
The clockevents core already detached and unregistered it at this stage.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250906064952.3749122-3-maobibo@loongson.cn
arch/loongarch/kernel/time.c

index f3092f2de8b501bb48661f3aa7c2e00d8c82a604..6fb92cc1a4c92a0efca6046393f1d7b90a357399 100644 (file)
@@ -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);