projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8d9d0
)
drm: use vmalloc_user instead of vmalloc_32 for DRM_SHM
author
Thomas Hellstrom
<thomas-at-tungstengraphics-dot-com>
Mon, 8 Jan 2007 10:22:50 +0000
(21:22 +1100)
committer
Dave 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
patch
|
blob
|
history
diff --git
a/drivers/char/drm/drm_bufs.c
b/drivers/char/drm/drm_bufs.c
index 9f65f5697ba81bd05f4811bce230295d88067c11..1f74fb49fa78167d5c856f927444bf685468b40d 100644
(file)
--- a/
drivers/char/drm/drm_bufs.c
+++ b/
drivers/char/drm/drm_bufs.c
@@
-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) {