diff options
author | Hideo Aoki <aoki@sdl.hitachi.co.jp> | 2004-10-20 20:55:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2004-10-20 20:55:50 -0700 |
commit | 211f6939ade57b518bed51d461a0fdede83d76c7 (patch) | |
tree | 38ff06cf8f460f71715fd587c5d5480d260224ea /kernel | |
parent | 652faad54e678d6b529150627b2058e99a3731c3 (diff) | |
download | history-211f6939ade57b518bed51d461a0fdede83d76c7.tar.gz |
[PATCH] vm thrashing control tuning CONFIG_SWAP=n build fix
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index fed8d5a8aa626c..e6dc3568a9037e 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -783,7 +783,6 @@ static ctl_table vm_table[] = { .strategy = &sysctl_intvec, .extra1 = &zero, }, -#ifdef CONFIG_SWAP { .ctl_name = VM_VFS_CACHE_PRESSURE, .procname = "vfs_cache_pressure", @@ -806,6 +805,7 @@ static ctl_table vm_table[] = { .extra1 = &zero, }, #endif +#ifdef CONFIG_SWAP { .ctl_name = VM_SWAP_TOKEN_TIMEOUT, .procname = "swap_token_timeout", @@ -815,6 +815,7 @@ static ctl_table vm_table[] = { .proc_handler = &proc_dointvec_jiffies, .strategy = &sysctl_jiffies, }, +#endif { .ctl_name = 0 } }; @@ -925,7 +926,6 @@ static ctl_table fs_table[] = { .mode = 0644, .proc_handler = &proc_dointvec, }, -#endif { .ctl_name = 0 } }; |