Re: Question regarding do_munmap

Alan Cox (alan@lxorguk.ukuu.org.uk)
04 Jun 2002 21:27:45 +0100


On Tue, 2002-06-04 at 19:24, Nick Popoff wrote:
> (Generic 2.4.18 include/linux/mm.h)
> extern int do_munmap(struct mm_struct *, unsigned long, size_t);
>
> (RH 7.3/AC patched 2.4.18-3 include/linux/mm.h)
> extern int do_munmap(struct mm_struct *, unsigned long, size_t, int
> acct);
>
> My question is what is the recommended way for module developers to
> handle changes to this API so that end users don't have to edit
> makefiles to build for their particular kernel? Is there a way to

All the -ac trees I ship have -ac in the EXTRAVERSION string. Red Hat
don't propogate that however. I hope to submit the changes to Marcelo
that include the munmap changes for the base tree fairly soon, which
will be ok as its a straight version test.

I hadn't anticipated people using do_munmap in drivers beyond a couple
of fun bits in the intel 3D acceleration

Alan

-
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/