aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-01-04 21:44:12 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-04 21:44:12 -0500
commitdb9edfd7e339ca4113153d887e782dd05be5a9eb (patch)
tree0a4ba12447a0cabc800adc7e9667d284777b0181 /kernel/sysctl.c
parent631b034724364b413e8a52e7c2e03a9d77e4c2b4 (diff)
parentfd586bacf439f36dea9b9bf6e6133ac87df2730c (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6
Trivial manual merge fixup for usb_find_interface clashes.
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,