http://bugme.osdl.org/show_bug.cgi?id=4354
------- Additional Comments From [EMAIL PROTECTED] 2005-03-17 08:38 -------
You'll have to update the Intel driver to use remap_pfn_range instead. It's
the same as remap_page_range except that it takes a page frame number instead
of a page. Typical change is something like this:
--- 1.21/arch/i386/pci/i386.c 2005-03-17 08:37:41 -08:00
+++ 1.22/arch/i386/pci/i386.c 2005-03-17 08:37:41 -08:00
@@ -295,7 +295,7 @@
/* Write-combine setting is ignored, it is changed via the mtrr
* interfaces on this platform.
*/
- if (remap_page_range(vma, vma->vm_start, vma->vm_pgoff << PAGE_SHIFT,
+ if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff,
vma->vm_end - vma->vm_start,
vma->vm_page_prot))
return -EAGAIN;
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel