2007/5/9, Parag N(पराग़) <panemade@xxxxxxxxx>:
On 5/9/07, rwen2012 <rwen2012@xxxxxxxxx> wrote:
>
>
> HI, all
> It is that we use the mem_map_reserve() to reserve a page in the device
> driver in 2.4.
> but it seems that it is not in the 2.6 version. What is the one in 2.6 can
> do that? Or any alternate
> technic?
mem_map_reserve/mem_unmap_reserve no longer remained in kernel from
2.5+ kernels. They got changed to
SetPageReserved/ClearPageReserved.
one reference that mentions this change can be found
http://www.redhat.com/archives/redhat-list/2005-February/msg00317.html
Regards,
Parag.