[NCLUG] remap_page_range (mm/mmap.c) backport

Benson Chow blc at q.dyndns.org
Wed Oct 29 02:18:18 MST 2003


Apparently the function remap_page_range changed from 4-parameters to
5-parameters around 2.4.20ish.  Redhat's kernel and 2.4.22/2.5.x/2.6.0-
have the newer 5-parameter call.

I have a piece of legacy code that uses the 4-parameter call.  Is there an
easy way to port forward these pieces of software?  Unfortunately this is
not my driver but I'd like to use it with 2.4.20(RH), 2.4.22, and later
kernels...  I've been looking at a few quick hacks with backporting
2.4.22+ back to the older 2.4.19 method, and those didn't seem to apply
going the other way... :(

The legacy code is at http://www.emuit.com/drivers/usbvision-0.9.1/ even
though it's been updated recently.

Thanks,

-bc





More information about the NCLUG mailing list