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 <tglx@kernel.org>
Link: https://patch.msgid.link/20260410120317.843419270@kernel.org
This commit is contained in:
Thomas Gleixner 2026-04-10 14:18:47 +02:00
parent 8cdeaa50ea
commit 6e1c488583

View File

@ -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))