On Fri, May 09, 2025 at 02:54:11PM +0200, Joel Granados wrote:
Move both sysrq ctl_table and supported sysrq_sysctl_handler helper
function into drivers/tty/sysrq.c. Replaced the __do_proc_dointvec in
helper function with do_proc_dointvec as the former is local to
kernel/sysctl.c.
This is part of a greater effort to move ctl tables into their
respective subsystems which will reduce the merge conflicts in
kernel/sysctl.c.
Signed-off-by: Joel Granados <joel.granados@kernel.org>
---
drivers/tty/sysrq.c | 38 ++++++++++++++++++++++++++++++++++++++
kernel/sysctl.c | 30 ------------------------------
2 files changed, 38 insertions(+), 30 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>