From 211f6939ade57b518bed51d461a0fdede83d76c7 Mon Sep 17 00:00:00 2001 From: Hideo Aoki Date: Wed, 20 Oct 2004 20:55:50 -0700 Subject: [PATCH] [PATCH] vm thrashing control tuning CONFIG_SWAP=n build fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- kernel/sysctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index fed8d5a8aa626..e6dc3568a9037 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 } }; -- 2.53.0