aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_bufs.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-08-13 21:35:15 -0400
committerDave Airlie <airlied@linux.ie>2006-09-21 15:32:32 -0400
commita1d0fcf5a1cf56ae4711c7e0f857832724a67e8b (patch)
tree2773f67ec366cecdf18de83a0df867ce7164fe93 /drivers/char/drm/drm_bufs.c
parentc29b669caae4ed1630ef479e54bdde126a0378ec (diff)
drm: remove FALSE/TRUE that snuck in with simple memory manager changes.
Thanks to Andrew Morton for pointing these out, I've fixed a few his patch missed. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_bufs.c')
-rw-r--r--drivers/char/drm/drm_bufs.c2
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);