Kernel 2.4.1pre11 - Compile bug - Function prototype change?

Shawn Starr (Shawn.Starr@Home.net)
Sun, 28 Jan 2001 18:21:37 -0500


in include/linux/mm.h:

-extern void zap_page_range(struct mm_struct *mm, unsigned long address,
unsigned long size, int actions);
+extern void zap_page_range(struct mm_struct *mm, unsigned long address,
unsigned long size)

The function has changed and breaks memory.c ?

memory.c:352: conflicting types for `zap_page_range'
/usr/src/linux/include/linux/mm.h:396: previous declaration of
`zap_page_range'
make[2]: *** [memory.o] Error 1
make[2]: Leaving directory `/usr/src/linux/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/mm'
make: *** [_dir_mm] Error 2

Shawn.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/