View Single Post
Old 05-20-03, 11:51 PM   #3
bromod
Shuttle SN41G2 - AMD 2500
 
bromod's Avatar
 
Join Date: May 2003
Posts: 13
Default

for the nforce-1.0-0256 codebase on kernel 2.4.20-8 to get this to compile, I had to make the following change. It now builds.

Within the nvaudio/nvcrush.c file, I made the following change to both calls to the remap_page_range, lines 426 and 465.

OLD LINE:
if (remap_page_range(vma->vm_start, virt_to_phys(recdmabuf->rawbuf), size, vma->vm_page_prot))


NEW LINE:
if (remap_page_range( vma, vma->vm_start, virt_to_phys(recdmabuf->rawbuf), size, vma->vm_page_prot))
bromod is offline   Reply With Quote