lkml.org 
[lkml]   [2004]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2005-03-22 14:07    [W:4.164 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site