Re: 2.6.9-rc4-mm1

From: Wen-chien Jesse Sung
Date: Wed Oct 13 2004 - 02:46:39 EST


Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc4/2.6.9-rc4-mm1/

Hi Andrew,

kernel/sysctl.c does not compile if CONFIG_SWAP=n.

--- 2.6.9-rc4-mm1/kernel/sysctl.c (revision 16)
+++ 2.6.9-rc4-mm1/kernel/sysctl.c (local)
@@ -813,6 +813,7 @@
.mode = 0644,
.proc_handler = &proc_dointvec,
},
+#ifdef CONFIG_SWAP
{
.ctl_name = VM_SWAP_TOKEN_TIMEOUT,
.procname = "swap_token_timeout",
@@ -822,6 +823,7 @@
.proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
},
+#endif
{ .ctl_name = 0 }
};



--
Best Regards,
Wen-chien Jesse Sung

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/