drm: use vmalloc_user instead of vmalloc_32 for DRM_SHM
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Mon, 8 Jan 2007 10:22:50 +0000 (21:22 +1100)
committerDave Airlie <airlied@linux.ie>
Thu, 8 Feb 2007 02:24:25 +0000 (13:24 +1100)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_bufs.c

index 9f65f56..1f74fb4 100644 (file)
@@ -182,7 +182,7 @@ static int drm_addmap_core(drm_device_t * dev, unsigned int offset,
                break;
 
        case _DRM_SHM:
-               map->handle = vmalloc_32(map->size);
+               map->handle = vmalloc_user(map->size);
                DRM_DEBUG("%lu %d %p\n",
                          map->size, drm_order(map->size), map->handle);
                if (!map->handle) {