summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-09-06 14:49:52 +0800
committerThomas Gleixner <tglx@linutronix.de>2025-09-09 13:39:00 +0200
commitd55dd6f5e47dd85ab2086b62f7a747d3f8be0fa0 (patch)
treecb4bbdd75527963d1e04985c55074eba2a0befd6
parentfe2a449a45b13df1562419e0104b4777b6ea5248 (diff)
LoongArch: Remove clockevents shutdown call on offlining
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
-rw-r--r--arch/loongarch/kernel/time.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/loongarch/kernel/time.c b/arch/loongarch/kernel/time.c
index f3092f2de8b5..6fb92cc1a4c9 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);