Messages in this thread | | | Date | Sat, 06 Jan 2001 18:13:00 +0100 | From | Daniel Phillips <> | Subject | Re: [non-kernel patch] Re: bug of Nvidia (0.9.5) Drivers in 2.4 Kernel Enviroment |
| |
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/
| |