diff options
Diffstat (limited to 'drivers/char/drm/drm_vm.c')
-rw-r--r-- | drivers/char/drm/drm_vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_vm.c b/drivers/char/drm/drm_vm.c index b9cfc077f6bc..4e480583a27f 100644 --- a/drivers/char/drm/drm_vm.c +++ b/drivers/char/drm/drm_vm.c | |||
@@ -227,7 +227,7 @@ static void drm_vm_shm_close(struct vm_area_struct *vma) | |||
227 | map->size); | 227 | map->size); |
228 | DRM_DEBUG("mtrr_del = %d\n", retcode); | 228 | DRM_DEBUG("mtrr_del = %d\n", retcode); |
229 | } | 229 | } |
230 | drm_ioremapfree(map->handle, map->size, dev); | 230 | iounmap(map->handle); |
231 | break; | 231 | break; |
232 | case _DRM_SHM: | 232 | case _DRM_SHM: |
233 | vfree(map->handle); | 233 | vfree(map->handle); |