diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 8ba457838d95..8203d70928d5 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -903,16 +903,6 @@ static struct ctl_table kern_table[] = { | |||
903 | .proc_handler = &proc_dointvec, | 903 | .proc_handler = &proc_dointvec, |
904 | }, | 904 | }, |
905 | #endif | 905 | #endif |
906 | #ifdef CONFIG_UNEVICTABLE_LRU | ||
907 | { | ||
908 | .ctl_name = CTL_UNNUMBERED, | ||
909 | .procname = "scan_unevictable_pages", | ||
910 | .data = &scan_unevictable_pages, | ||
911 | .maxlen = sizeof(scan_unevictable_pages), | ||
912 | .mode = 0644, | ||
913 | .proc_handler = &scan_unevictable_handler, | ||
914 | }, | ||
915 | #endif | ||
916 | #ifdef CONFIG_SLOW_WORK | 906 | #ifdef CONFIG_SLOW_WORK |
917 | { | 907 | { |
918 | .ctl_name = CTL_UNNUMBERED, | 908 | .ctl_name = CTL_UNNUMBERED, |
@@ -1313,6 +1303,16 @@ static struct ctl_table vm_table[] = { | |||
1313 | .extra2 = &one, | 1303 | .extra2 = &one, |
1314 | }, | 1304 | }, |
1315 | #endif | 1305 | #endif |
1306 | #ifdef CONFIG_UNEVICTABLE_LRU | ||
1307 | { | ||
1308 | .ctl_name = CTL_UNNUMBERED, | ||
1309 | .procname = "scan_unevictable_pages", | ||
1310 | .data = &scan_unevictable_pages, | ||
1311 | .maxlen = sizeof(scan_unevictable_pages), | ||
1312 | .mode = 0644, | ||
1313 | .proc_handler = &scan_unevictable_handler, | ||
1314 | }, | ||
1315 | #endif | ||
1316 | /* | 1316 | /* |
1317 | * NOTE: do not add new entries to this table unless you have read | 1317 | * NOTE: do not add new entries to this table unless you have read |
1318 | * Documentation/sysctl/ctl_unnumbered.txt | 1318 | * Documentation/sysctl/ctl_unnumbered.txt |