diff options
| author | Joel Granados <joel.granados@kernel.org> | 2025-10-08 09:58:46 +0200 |
|---|---|---|
| committer | Joel Granados <joel.granados@kernel.org> | 2025-11-27 15:43:20 +0100 |
| commit | 796c481a4b7026a93e4800bff8d99923630014e7 (patch) | |
| tree | d50ffd86d2aba389aee653edc478ea4f50347073 /tools/docs/parse-headers.py | |
| parent | 2dc164a48e6fdb03066614e2b82464b9b7c790ca (diff) | |
sysctl: Create integer converters with one macro
New SYSCTL_INT_CONV_CUSTOM macro creates "bi-directional" converters
from a user-to-kernel and a kernel-to-user functions. Replace integer
versions of do_proc_*_conv functions with the ones from the new macro.
Rename "_dointvec_" to just "_int_" as these converters are not applied
to vectors and the "do" is already in the name.
Move the USER_HZ validation directly into proc_dointvec_userhz_jiffies()
Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
