Re: offtopic: patch for nvidia drivers

Stan Bubrouski (stan@ccs.neu.edu)
Sat, 05 Oct 2002 12:28:54 -0400


Roberto Nibali wrote:
...
> - /* finally, let's do it! */
> - err = remap_page_range( (size_t) uaddr, (size_t) start, size_bytes,
> + /* finally, let's do it! */
> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
> + err = remap_page_rage( (size_t) uaddr, (size_t) start, size_bytes,
> + PAGE_SHARED);
> +#else

That remap_page_rage should be remap_page_range as noted in a
previous thread. Just a reminder.

-Stan

-
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/