Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://freedesktop.org/bugzilla/show_bug.cgi?id=1662
------- Additional Comments From [EMAIL PROTECTED] 2004-11-09 02:29 -------
(In reply to comment #0)
> Hi. I'm using the 2.6.9-rc4-love1 kernel (based on the mm kernel) and while
> the
> Radeon driver compiles okay, it failes to load because of an unknown symbol
> called remap_page_range. I did a search for this and apparently Andrew Morton
> has changed the name of the function and the arguments it takes. This page
> only
> mentions the name change but I tried simply changing the name in the source
> and
> that didn't work.
>
> http://www.ussg.iu.edu/hypermail/linux/kernel/0409.3/1106.html
>
> This is fairly bleeding edge stuff so maybe you don't want to address the
> issue
> yet but I thought I'd make you aware of it in case this change makes it back
> to
> the mainstream kernel.
Yeah changing the name alone wont work
The problem is that the two functions remap_page_range and remap_pfn_range count
sizes in different units.
As a work around try this.
In drm_vm.h (or someother header file add this function definition)
---------------8<----------------8<-------------------------------------------
static inline __deprecated /* since 25 Sept 2004 -- wli */
int remap_page_range(struct vm_area_struct *vma, unsigned long uvaddr,
unsigned long paddr, unsigned long size, pgprot_t prot)
{
return remap_pfn_range(vma, uvaddr, paddr >> PAGE_SHIFT, size, prot);
}
---------------8<-----------------8<------------------------------------------
This is only a temporary work around and might not compile in older kernels that
already have the definition of remap_page_range. I am putting it here because
it worked for me (savage on linux 2.6.10-rc1-mm2)
A cleaner solution would be to eliminate usage of remap_page_range but I am not
sure of backward compat.
Best of luck
--
Rajsekar
IIT Madras
[EMAIL PROTECTED]
--
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel