]> git.ipfire.org Git - thirdparty/linux.git/commit
sysctl: Move jiffies converters to kernel/time/jiffies.c
authorJoel Granados <joel.granados@kernel.org>
Tue, 14 Oct 2025 11:04:16 +0000 (13:04 +0200)
committerJoel Granados <joel.granados@kernel.org>
Thu, 27 Nov 2025 14:45:37 +0000 (15:45 +0100)
commit54932988c4230925d2bf0023509ac2fee59a089a
treef6e18f496b1d26186117188374c08a8672e151b6
parent24a08eefddb33c7a259975e932c434b85f70d684
sysctl: Move jiffies converters to kernel/time/jiffies.c

Move integer jiffies converters (proc_dointvec{_,_ms_,_userhz_}jiffies
and proc_dointvec_ms_jiffies_minmax) to kernel/time/jiffies.c. Error
stubs for when CONFIG_PRCO_SYSCTL is not defined are not reproduced
because all the jiffies converters go through proc_dointvec_conv which
is already stubbed. This is part of the greater effort to move sysctl
logic out of kernel/sysctl.c thereby reducing merge conflicts in
kernel/sysctl.c.

Signed-off-by: Joel Granados <joel.granados@kernel.org>
include/linux/jiffies.h
include/linux/sysctl.h
kernel/sysctl.c
kernel/time/jiffies.c