Re: Phoebe3 kernel + XFree86-4.3.0-2.1 ati drm

"Tom 'spot' Callaway" <[email protected]>
Newsgroups gmane.linux.redhat.xfree86
Organization Red Hat
Message-ID <1053791915.17804.4.camel@zorak>
On Fri, 2003-03-07 at 19:06, Joshua Andrews wrote:
> I am having the same problem building the kernel drm modules from 
> XFree86-4.3.0-2.1 source as I am when building the GATOS drm-kernel.  I 
> am wondering if it has to do with the merge of rmap15d into the kernel 
> but mainly I am wondering if there is a known fix for this.

No, my time machine isn't stuck in March... I finally got around to
taking a look at this. The fix is pretty trivial, so I thought I'd post
it here so that the archives would see it as well for googling.

--- drm-kernel/drm_vm.h.BAD	2003-05-24 10:31:10.000000000 -0500
+++ drm-kernel/drm_vm.h	2003-05-24 10:32:02.000000000 -0500
@@ -456,7 +456,7 @@
 					vma->vm_end - vma->vm_start,
 					vma->vm_page_prot, 0))
 #else
-		if (remap_page_range(DRM_RPR_ARG(vma) vma->vm_start,
+		if (remap_page_range(vma, DRM_RPR_ARG(vma) vma->vm_start,
 				     VM_OFFSET(vma) + offset,
 				     vma->vm_end - vma->vm_start,
 				     vma->vm_page_prot))

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> SAIR LCA, RHCE
Red Hat Enterprise Architect :: http://www.redhat.com
Project Leader for Aurora Sparc Linux :: http://auroralinux.org
GPG: D786 8B22 D9DB 1F8B 4AB7  448E 3C5E 99AD 9305 4260

The words and opinions reflected in this message do not necessarily
reflect those of my employer, Red Hat, and belong solely to me.

"Immature poets borrow, mature poets steal." --- T. S. Eliot


_______________________________________________
xfree86-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/xfree86-list
IRC: #xfree86 on irc.redhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.