From e4b2da440699f581a8779ea8cb9e99e4c903e6a7 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Thu, 8 Feb 2007 16:21:38 +0100 Subject: A minor function interface change and some memcpy bugfixing. Hooray!! it sort of works with a fixed AGP area as faked VRAM. --- linux-core/drm_compat.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'linux-core/drm_compat.c') diff --git a/linux-core/drm_compat.c b/linux-core/drm_compat.c index d0bca672..8dd15ded 100644 --- a/linux-core/drm_compat.c +++ b/linux-core/drm_compat.c @@ -250,7 +250,6 @@ struct page *drm_bo_vm_nopage(struct vm_area_struct *vma, } get_page(page); - out_unlock: mutex_unlock(&bo->mutex); return page; @@ -274,7 +273,6 @@ int drm_bo_map_bound(struct vm_area_struct *vma) if (bus_size) { unsigned long pfn = (bus_base + bus_offset) >> PAGE_SHIFT; pgprot_t pgprot = drm_io_prot(_DRM_AGP, vma); - ret = io_remap_pfn_range(vma, vma->vm_start, pfn, vma->vm_end - vma->vm_start, pgprot); -- cgit v1.2.3