Re: 2.6.8-rc3-mm2

From: Andrew Morton
Date: Sun Aug 08 2004 - 18:08:31 EST


Brice Goglin <Brice.Goglin@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/