mirror of
https://github.com/torvalds/linux.git
synced 2026-09-13 14:44:42 +02:00
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:
parent
8cdeaa50ea
commit
6e1c488583
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user