diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index ab62787d1..4290619d0 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -53,6 +53,9 @@ static int minolduid; #ifdef CONFIG_KMOD extern char modprobe_path[]; +#ifdef CONFIG_HOTPLUG +extern char hotplug_path[]; +#endif #endif #ifdef CONFIG_CHR_DEV_SG extern int sg_big_buff; @@ -184,6 +187,10 @@ static ctl_table kern_table[] = { #ifdef CONFIG_KMOD {KERN_MODPROBE, "modprobe", &modprobe_path, 256, 0644, NULL, &proc_dostring, &sysctl_string }, +#ifdef CONFIG_HOTPLUG + {KERN_HOTPLUG, "hotplug", &hotplug_path, 256, + 0644, NULL, &proc_dostring, &sysctl_string }, +#endif #endif #ifdef CONFIG_CHR_DEV_SG {KERN_SG_BIG_BUFF, "sg-big-buff", &sg_big_buff, sizeof (int), |