aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index b53115b882e1..345f4a1d533f 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -31,6 +31,7 @@
31#include <linux/smp_lock.h> 31#include <linux/smp_lock.h>
32#include <linux/init.h> 32#include <linux/init.h>
33#include <linux/kernel.h> 33#include <linux/kernel.h>
34#include <linux/kobject.h>
34#include <linux/net.h> 35#include <linux/net.h>
35#include <linux/sysrq.h> 36#include <linux/sysrq.h>
36#include <linux/highuid.h> 37#include <linux/highuid.h>
@@ -83,9 +84,6 @@ static int ngroups_max = NGROUPS_MAX;
83#ifdef CONFIG_KMOD 84#ifdef CONFIG_KMOD
84extern char modprobe_path[]; 85extern char modprobe_path[];
85#endif 86#endif
86#ifdef CONFIG_HOTPLUG
87extern char hotplug_path[];
88#endif
89#ifdef CONFIG_CHR_DEV_SG 87#ifdef CONFIG_CHR_DEV_SG
90extern int sg_big_buff; 88extern int sg_big_buff;
91#endif 89#endif
@@ -397,8 +395,8 @@ static ctl_table kern_table[] = {
397 { 395 {
398 .ctl_name = KERN_HOTPLUG, 396 .ctl_name = KERN_HOTPLUG,
399 .procname = "hotplug", 397 .procname = "hotplug",
400 .data = &hotplug_path, 398 .data = &uevent_helper,
401 .maxlen = HOTPLUG_PATH_LEN, 399 .maxlen = UEVENT_HELPER_PATH_LEN,
402 .mode = 0644, 400 .mode = 0644,
403 .proc_handler = &proc_dostring, 401 .proc_handler = &proc_dostring,
404 .strategy = &sysctl_string, 402 .strategy = &sysctl_string,