[PATCH v2 2/3] time/jiffies: Include linux/sysctl.h for proc_int_u2k_conv_uop(), ...
Petr Pavlu <[email protected]> Tue, 21 Jul 2026 15:11:26 +0200
| Newsgroups | gmane.linux.network.bridge,gmane.linux.ports.ppc64.devel |
|---|---|
| Message-ID | <20260721131207.803760-3-petr.pavlu__1002.58251638792$1784639994$gmane$org@suse.com> |
The kernel/time/jiffies.c file uses proc_int_u2k_conv_uop(), proc_int_k2u_conv_kop(), proc_int_conv(), proc_dointvec_conv() and proc_doulongvec_minmax_conv(), which are declared in linux/sysctl.h. It currently relies on this header being included indirectly through linux/module.h -> linux/kmod.h. Add the missing include in preparation for removing the linux/sysctl.h include from linux/kmod.h. Signed-off-by: Petr Pavlu <[email protected]> --- kernel/time/jiffies.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/time/jiffies.c b/kernel/time/jiffies.c index d51428867a33..17cdb5ef8893 100644 --- a/kernel/time/jiffies.c +++ b/kernel/time/jiffies.c @@ -8,6 +8,7 @@ #include <linux/jiffies.h> #include <linux/module.h> #include <linux/init.h> +#include <linux/sysctl.h> #include "timekeeping.h" #include "tick-internal.h" -- 2.54.0