Re: remap_page_range() vs. remap_pfn_range()
From: Randy.Dunlap
Date: Thu Mar 16 2006 - 11:22:30 EST
On Thu, 16 Mar 2006 16:50:55 +0100 Arjan van de Ven wrote:
> On Thu, 2006-03-16 at 07:42 -0800, Brian D. McGrew wrote:
> > I've seen the change in the kernel for this call so I changed my device
> > drive to use the new call and now every time I access the device the
> > machine gets really unstable and crashes after a minute or so.
>
> you forgot to post the URL to your source code, so how can we help you?
You changed the function name and didn't change any parameters?
The page parameter must also be modified to become
a <pfn> parameter, e.g., change <page> to
page >> PAGE_SHIFT
however, yes, any other help would need source code.
---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/