From 6e1c4885831c2c131bd2649f1414168d672d1d85 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 10 Apr 2026 14:18:47 +0200 Subject: [PATCH] x86: Use PIT_TICK_RATE instead of CLOCK_TICK_RATE CLOCK_TICK_RATE is only used in x86 but defined all over the tree for no reason with comments that it's scheduled for removal for more than a decade. Use PIT_TICK_RATE for registering refined jiffies to get rid of the last dependency. Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20260410120317.843419270@kernel.org --- arch/x86/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 46882ce79c3a..0e75eb07990b 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -1268,7 +1268,7 @@ void __init setup_arch(char **cmdline_p) mcheck_init(); - register_refined_jiffies(CLOCK_TICK_RATE); + register_refined_jiffies(PIT_TICK_RATE); #ifdef CONFIG_EFI if (efi_enabled(EFI_BOOT))