提交 f239b7b0 编写于 作者: T Thomas Hellstrom 提交者: Dave Airlie

drm: use vmalloc_user instead of vmalloc_32 for DRM_SHM

Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 9b8d9d0e
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册