diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-08 10:38:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-08 10:38:50 -0500 |
commit | 1557d33007f63dd96e5d15f33af389378e5f2e54 (patch) | |
tree | 06d05722b2ba5d2a67532f779fa8a88efe3c88f1 /kernel/slow-work.c | |
parent | 6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff) | |
parent | c656ae95d1c5c8ed5763356263ace2d03087efec (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/sysctl-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/sysctl-2.6: (43 commits)
security/tomoyo: Remove now unnecessary handling of security_sysctl.
security/tomoyo: Add a special case to handle accesses through the internal proc mount.
sysctl: Drop & in front of every proc_handler.
sysctl: Remove CTL_NONE and CTL_UNNUMBERED
sysctl: kill dead ctl_handler definitions.
sysctl: Remove the last of the generic binary sysctl support
sysctl net: Remove unused binary sysctl code
sysctl security/tomoyo: Don't look at ctl_name
sysctl arm: Remove binary sysctl support
sysctl x86: Remove dead binary sysctl support
sysctl sh: Remove dead binary sysctl support
sysctl powerpc: Remove dead binary sysctl support
sysctl ia64: Remove dead binary sysctl support
sysctl s390: Remove dead sysctl binary support
sysctl frv: Remove dead binary sysctl support
sysctl mips/lasat: Remove dead binary sysctl support
sysctl drivers: Remove dead binary sysctl support
sysctl crypto: Remove dead binary sysctl support
sysctl security/keys: Remove dead binary sysctl support
sysctl kernel: Remove binary sysctl logic
...
Diffstat (limited to 'kernel/slow-work.c')
-rw-r--r-- | kernel/slow-work.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/kernel/slow-work.c b/kernel/slow-work.c index 00889bd3c590..7494bbf5a270 100644 --- a/kernel/slow-work.c +++ b/kernel/slow-work.c | |||
@@ -49,7 +49,6 @@ static const int slow_work_max_vslow = 99; | |||
49 | 49 | ||
50 | ctl_table slow_work_sysctls[] = { | 50 | ctl_table slow_work_sysctls[] = { |
51 | { | 51 | { |
52 | .ctl_name = CTL_UNNUMBERED, | ||
53 | .procname = "min-threads", | 52 | .procname = "min-threads", |
54 | .data = &slow_work_min_threads, | 53 | .data = &slow_work_min_threads, |
55 | .maxlen = sizeof(unsigned), | 54 | .maxlen = sizeof(unsigned), |
@@ -59,7 +58,6 @@ ctl_table slow_work_sysctls[] = { | |||
59 | .extra2 = &slow_work_max_threads, | 58 | .extra2 = &slow_work_max_threads, |
60 | }, | 59 | }, |
61 | { | 60 | { |
62 | .ctl_name = CTL_UNNUMBERED, | ||
63 | .procname = "max-threads", | 61 | .procname = "max-threads", |
64 | .data = &slow_work_max_threads, | 62 | .data = &slow_work_max_threads, |
65 | .maxlen = sizeof(unsigned), | 63 | .maxlen = sizeof(unsigned), |
@@ -69,16 +67,15 @@ ctl_table slow_work_sysctls[] = { | |||
69 | .extra2 = (void *) &slow_work_max_max_threads, | 67 | .extra2 = (void *) &slow_work_max_max_threads, |
70 | }, | 68 | }, |
71 | { | 69 | { |
72 | .ctl_name = CTL_UNNUMBERED, | ||
73 | .procname = "vslow-percentage", | 70 | .procname = "vslow-percentage", |
74 | .data = &vslow_work_proportion, | 71 | .data = &vslow_work_proportion, |
75 | .maxlen = sizeof(unsigned), | 72 | .maxlen = sizeof(unsigned), |
76 | .mode = 0644, | 73 | .mode = 0644, |
77 | .proc_handler = &proc_dointvec_minmax, | 74 | .proc_handler = proc_dointvec_minmax, |
78 | .extra1 = (void *) &slow_work_min_vslow, | 75 | .extra1 = (void *) &slow_work_min_vslow, |
79 | .extra2 = (void *) &slow_work_max_vslow, | 76 | .extra2 = (void *) &slow_work_max_vslow, |
80 | }, | 77 | }, |
81 | { .ctl_name = 0 } | 78 | {} |
82 | }; | 79 | }; |
83 | #endif | 80 | #endif |
84 | 81 | ||