]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sysctl: Move UINT converter macros to sysctl header
authorJoel Granados <joel.granados@kernel.org>
Thu, 16 Oct 2025 08:38:45 +0000 (10:38 +0200)
committerJoel Granados <joel.granados@kernel.org>
Thu, 27 Nov 2025 14:45:37 +0000 (15:45 +0100)
commit24a08eefddb33c7a259975e932c434b85f70d684
tree59059aaec762463af0eba71a73258e72a495846b
parente2e5dac304fdf991fb974510db4565db04ef1335
sysctl: Move UINT converter macros to sysctl header

Move SYSCTL_USER_TO_KERN_UINT_CONV and SYSCTL_UINT_CONV_CUSTOM macros to
include/linux/sysctl.h. No need to embed sysctl_kern_to_user_uint_conv
in a macro as it will not need a custom kernel pointer operation. This
is a preparation commit to enable jiffies converter creation outside
kernel/sysctl.c.

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