Re: 2.6.9-rc4-mm1

From: Hideo AOKI
Date: Wed Oct 13 2004 - 03:18:23 EST


Wen-chien Jesse Sung wrote:

> 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 }
> };

Hello, Wen-chien

Your fix is correct.

Thank you.

Hideo AOKI

Systems Development Laboratory, Hitachi, Ltd.

-
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/