Re: Query on remap_pfn_range compatibility

2005-01-25 Thread Timur Tabi
[EMAIL PROTECTED] wrote: I am also trying to avoid an ugly hack like the following: VMA_PARAM_IN_REMAP=`grep remap_page_range $PATH_LINUX_INCLUDE/linux/mm.h|grep vma` if [ -z "$VMA_PARAM_IN_REMAP" ]; then export REMAP_PAGE_RANGE_PARAM="4" else export REMAP_PAGE_RANGE_PARAM="5" endi

Re: Query on remap_pfn_range compatibility

2005-01-24 Thread William Lee Irwin III
wli wrote... >> Not sure. One on kernel version being <= 2.6.10 would probably serve >> your purposes, though it's not particularly well thought of. I suspect >> people would suggest splitting up the codebase instead of sharing it >> between 2.4.x and 2.6.x, where I've no idea how well that sits wi

Re: Query on remap_pfn_range compatibility

2005-01-24 Thread Mark_H_Johnson
wli wrote... > On Mon, Jan 24, 2005 at 10:54:22AM -0600, [EMAIL PROTECTED] wrote: > > I read the messages on lkml from September 2004 about the introduction of > > remap_pfn_range and have a question related to coding for it. What do you > > recommend for driver coding to be compatible with these f

Re: Query on remap_pfn_range compatibility

2005-01-24 Thread William Lee Irwin III
On Mon, Jan 24, 2005 at 10:54:22AM -0600, [EMAIL PROTECTED] wrote: > I read the messages on lkml from September 2004 about the introduction of > remap_pfn_range and have a question related to coding for it. What do you > recommend for driver coding to be compatible with these functions > (remap_pag