diff options
Diffstat (limited to 'drivers/char/drm/drm_bufs.c')
-rw-r--r-- | drivers/char/drm/drm_bufs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_bufs.c b/drivers/char/drm/drm_bufs.c index dde612091005..71d2e0917636 100644 --- a/drivers/char/drm/drm_bufs.c +++ b/drivers/char/drm/drm_bufs.c | |||
@@ -248,7 +248,7 @@ static int drm_addmap_core(drm_device_t * dev, unsigned int offset, | |||
248 | /* We do it here so that dev->struct_mutex protects the increment */ | 248 | /* We do it here so that dev->struct_mutex protects the increment */ |
249 | user_token = (map->type == _DRM_SHM) ? (unsigned long)map->handle : | 249 | user_token = (map->type == _DRM_SHM) ? (unsigned long)map->handle : |
250 | map->offset; | 250 | map->offset; |
251 | ret = drm_map_handle(dev, &list->hash, user_token, FALSE); | 251 | ret = drm_map_handle(dev, &list->hash, user_token, 0); |
252 | if (ret) { | 252 | if (ret) { |
253 | drm_free(map, sizeof(*map), DRM_MEM_MAPS); | 253 | drm_free(map, sizeof(*map), DRM_MEM_MAPS); |
254 | drm_free(list, sizeof(*list), DRM_MEM_MAPS); | 254 | drm_free(list, sizeof(*list), DRM_MEM_MAPS); |