lkml.org 
[lkml]   [2000]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MAP_NR
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/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.081 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site