diff options
| author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-05-23 18:18:40 -0400 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-05-23 18:18:40 -0400 |
| commit | fc05505b77f7900a1bb74fb3f3a4343dee4265a4 (patch) | |
| tree | 6517919cb60bd9465078512cacbefd8c77f94b76 /kernel/sysctl.c | |
| parent | a2ab67fae1ab9226679495a8d260f4e6555efc5f (diff) | |
| parent | 11c79740d3c03cb81f84e98cf2e2dbd8d9bb53cd (diff) | |
Merge branch 'ixp4xx' of git://git.kernel.org/pub/scm/linux/kernel/git/chris/linux-2.6 into devel
Diffstat (limited to 'kernel/sysctl.c')
| -rw-r--r-- | kernel/sysctl.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index ea78fa101ad..b2970d56fb7 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
| @@ -101,7 +101,6 @@ static int __maybe_unused one = 1; | |||
| 101 | static int __maybe_unused two = 2; | 101 | static int __maybe_unused two = 2; |
| 102 | static unsigned long one_ul = 1; | 102 | static unsigned long one_ul = 1; |
| 103 | static int one_hundred = 100; | 103 | static int one_hundred = 100; |
| 104 | static int one_thousand = 1000; | ||
| 105 | 104 | ||
| 106 | /* this is needed for the proc_doulongvec_minmax of vm_dirty_bytes */ | 105 | /* this is needed for the proc_doulongvec_minmax of vm_dirty_bytes */ |
| 107 | static unsigned long dirty_bytes_min = 2 * PAGE_SIZE; | 106 | static unsigned long dirty_bytes_min = 2 * PAGE_SIZE; |
| @@ -1034,28 +1033,6 @@ static struct ctl_table vm_table[] = { | |||
| 1034 | .proc_handler = &proc_dointvec, | 1033 | .proc_handler = &proc_dointvec, |
| 1035 | }, | 1034 | }, |
| 1036 | { | 1035 | { |
| 1037 | .ctl_name = CTL_UNNUMBERED, | ||
| 1038 | .procname = "nr_pdflush_threads_min", | ||
| 1039 | .data = &nr_pdflush_threads_min, | ||
| 1040 | .maxlen = sizeof nr_pdflush_threads_min, | ||
| 1041 | .mode = 0644 /* read-write */, | ||
| 1042 | .proc_handler = &proc_dointvec_minmax, | ||
| 1043 | .strategy = &sysctl_intvec, | ||
| 1044 | .extra1 = &one, | ||
| 1045 | .extra2 = &nr_pdflush_threads_max, | ||
| 1046 | }, | ||
| 1047 | { | ||
| 1048 | .ctl_name = CTL_UNNUMBERED, | ||
| 1049 | .procname = "nr_pdflush_threads_max", | ||
| 1050 | .data = &nr_pdflush_threads_max, | ||
| 1051 | .maxlen = sizeof nr_pdflush_threads_max, | ||
| 1052 | .mode = 0644 /* read-write */, | ||
| 1053 | .proc_handler = &proc_dointvec_minmax, | ||
| 1054 | .strategy = &sysctl_intvec, | ||
| 1055 | .extra1 = &nr_pdflush_threads_min, | ||
| 1056 | .extra2 = &one_thousand, | ||
| 1057 | }, | ||
| 1058 | { | ||
| 1059 | .ctl_name = VM_SWAPPINESS, | 1036 | .ctl_name = VM_SWAPPINESS, |
| 1060 | .procname = "swappiness", | 1037 | .procname = "swappiness", |
| 1061 | .data = &vm_swappiness, | 1038 | .data = &vm_swappiness, |
