Re: [non-kernel patch] Re: bug of Nvidia (0.9.5) Drivers in 2.4 Kernel Enviroment

From: Daniel Phillips (phillips@innominate.de)
Date: Sat Jan 06 2001 - 12:13:00 EST


Jared Sulem wrote:
> Driver should work after applying the following patch. I'm not a kernel
> hacker so I don't know how good a solution this is (especially suspicious
> of the work around in os-interface.c) but X works on my machine and it has
> not crashed (yet) - have not tried any OpenGL though.
> [...]
>
> struct vm_operations_struct nv_vm_ops = {
> open: nv_vma_open,
> close: nv_vma_release,
> - unmap: nv_vma_unmap,
> + nv_vma_unmap,
       ^^^^^^^^^^^^^
No... 1) Bad idea to mix named field initializers with positional Here
you're initializing a nonexistent field 2) The unmap method is gone
from vm_operations_struct because this is now handled generically. Just
remove it.

> };
> #endif

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



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:25 EST