remap_page_range compiling question
Martin Duclos
tchitow-PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org
Tue Feb 17 18:35:43 UTC 2004
Hi all,
I have a quick question. I'm using a redhat 9.0 machine trying to compile a
driver for webcams. I get a compile error about rempa_page_range. After a
little looking around I found out that the mm.h where the prototype is
located has changed and now takes 5 parameters.
int remap_page_range(struct vm_area_struct *vma, unsigned long from,
unsigned long to, unsigned long size, pgprot_t prot);
The call to that function have only 4 parameters. The first one
(vm_area_struct *) is missing. Any idea where it's coming from? Is there a
constant somewhere I can throw in there?
Has anyone had problems compiling drivers on redhat 9.0 machine in regard to
a call to remap_page_rnage?
Martin
_________________________________________________________________
Get a FREE online computer virus scan from McAfee when you click here.
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list