OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
9f65f56
..
1f74fb4
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) {