Commit cd89f46b authored by Yuanhan Liu's avatar Yuanhan Liu Committed by Linus Torvalds
Browse files

kernel/utsname_sysctl.c: put get/get_uts() into CONFIG_PROC_SYSCTL code block

Put get/get_uts() into CONFIG_PROC_SYSCTL code block as they are used
only when CONFIG_PROC_SYSCTL is enabled.
Signed-off-by: default avatarYuanhan Liu <>
Cc: "Eric W. Biederman" <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent df1778be
......@@ -15,6 +15,8 @@
#include <linux/sysctl.h>
#include <linux/wait.h>
static void *get_uts(ctl_table *table, int write)
char *which = table->data;
......@@ -38,7 +40,6 @@ static void put_uts(ctl_table *table, int write, void *which)
* Special case of dostring for the UTS structure. This has locks
* to observe. Should this be in kernel/sys.c ????
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment