Messages in this thread | | | Date | Wed, 13 Oct 2004 17:16:02 +0900 | From | Hideo AOKI <> | Subject | Re: 2.6.9-rc4-mm1 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |