Commit e6101d76 authored by Linus Torvalds's avatar Linus Torvalds

Merge with DRI CVS tree: handle lack of AGP gracefully.

parent 46fe1abc
...@@ -71,7 +71,7 @@ struct page *DRM(vm_nopage)(struct vm_area_struct *vma, ...@@ -71,7 +71,7 @@ struct page *DRM(vm_nopage)(struct vm_area_struct *vma,
* Find the right map * Find the right map
*/ */
if(!dev->agp->cant_use_aperture) goto vm_nopage_error; if(!dev->agp || !dev->agp->cant_use_aperture) goto vm_nopage_error;
list_for_each(list, &dev->maplist->head) { list_for_each(list, &dev->maplist->head) {
r_list = (drm_map_list_t *)list; r_list = (drm_map_list_t *)list;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment