mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 08:48:48 +00:00
drm: use vmalloc_user instead of vmalloc_32 for DRM_SHM
Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
parent
9b8d9d0e01
commit
f239b7b0ca
@ -182,7 +182,7 @@ static int drm_addmap_core(drm_device_t * dev, unsigned int offset,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case _DRM_SHM:
|
case _DRM_SHM:
|
||||||
map->handle = vmalloc_32(map->size);
|
map->handle = vmalloc_user(map->size);
|
||||||
DRM_DEBUG("%lu %d %p\n",
|
DRM_DEBUG("%lu %d %p\n",
|
||||||
map->size, drm_order(map->size), map->handle);
|
map->size, drm_order(map->size), map->handle);
|
||||||
if (!map->handle) {
|
if (!map->handle) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user