lkml.org 
[lkml]   [2002]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: opengl-nvidia not compiling
Date
> >  > nv.c:1438: incompatible type for argument 4 of
> > `remap_page_range_Reb32c755'
> > > nv.c:1438: too few arguments to function `remap_page_range_Reb32c755'

> Just to add something related, but unrelated to the
> NVIDIA problem above, this is the same exact error I received when
> I compiled any kernel > 2.5.2 with ALSA 0.5.* and ALSA 0.9.*.

What happened was remap_page_range sprouted a new first argument - the vma
you are mapping into. If you know even a tiny bit of C you can fix it
yourself; just look for the nearest variable of type 'struct
vm_area_struct*', and prepend it to the other args.

Not that everything is guaranteed to work even if it compiles... NVIDIA
cards do some very unusual fiddling with memory mappings and page tables, so
VM changes are just as likely to break their driver...

Regards,
Dan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.028 / U:0.064 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site