lkml.org 
[lkml]   [2004]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.6.8-rc3-mm2
    Brice Goglin <Brice.Goglin@ens-lyon.fr> wrote:
    >
    > I got this compile error on my Compaq Evo N600c. .config is attached.
    >
    > CC arch/i386/kernel/nmi.o
    > arch/i386/kernel/nmi.c: In function proc_unknown_nmi_panic':
    > arch/i386/kernel/nmi.c:558: error: too few arguments to function proc_dointvec'
    > make[1]: *** [arch/i386/kernel/nmi.o] Erreur 1

    uh, OK. The below is probably wrongish, but it'll get you thorugh.


    diff -puN arch/i386/kernel/nmi.c~nmi-build-fix arch/i386/kernel/nmi.c
    --- 25/arch/i386/kernel/nmi.c~nmi-build-fix 2004-08-08 16:03:28.141725080 -0700
    +++ 25-akpm/arch/i386/kernel/nmi.c 2004-08-08 16:04:13.168879912 -0700
    @@ -555,7 +555,7 @@ int proc_unknown_nmi_panic(ctl_table *ta
    int old_state;

    old_state = unknown_nmi_panic;
    - proc_dointvec(table, write, file, buffer, length);
    + proc_dointvec(table, write, file, buffer, length, &file->f_pos);
    if (!!old_state == !!unknown_nmi_panic)
    return 0;

    _
    -
    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:05    [W:3.278 / U:0.272 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site