Re: MAP_NR

From: John Levon (moz@compsoc.man.ac.uk)
Date: Thu Oct 19 2000 - 11:55:33 EST


On Thu, 19 Oct 2000 mdaljeet@in.ibm.com wrote:

> can anyone tell the subsitute for MAP_NR in version 2.4?
> or is MAP_NR still there?
>

e.g.

int i = MAP_NR(buffer);

becomes

struct page *p = virt_to_page(buffer);

I believe ...

john

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



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:15 EST