summaryrefslogtreecommitdiff
path: root/linux-core/drm_ttm.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-29 10:45:34 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-29 10:45:34 +0200
commit279e8d26c6cf7347aa9cb6d50d025a41dff9a5be (patch)
tree99a18283601f80f59f74bcff273bbe3b0fcd2dd2 /linux-core/drm_ttm.c
parent205740647060bc3bdec2b4402a666eb1015932ff (diff)
64-bit IOCTL integer (Michel Dänzer & Brian Paul)
Diffstat (limited to 'linux-core/drm_ttm.c')
-rw-r--r--linux-core/drm_ttm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_ttm.c b/linux-core/drm_ttm.c
index cda3ec29..8cd0af61 100644
--- a/linux-core/drm_ttm.c
+++ b/linux-core/drm_ttm.c
@@ -888,7 +888,7 @@ int drm_ttm_ioctl(DRM_IOCTL_ARGS)
switch(arg.op) {
case drm_ttm_create:
mutex_lock(&dev->struct_mutex);
- size = drm_ul(arg.size);
+ size = arg.size;
ret = drm_ttm_object_create(dev, size, arg.flags, &entry);
if (ret) {
mutex_unlock(&dev->struct_mutex);
@@ -929,7 +929,7 @@ int drm_ttm_ioctl(DRM_IOCTL_ARGS)
}
arg.handle = entry->base.hash.key;
arg.user_token = entry->map_list.user_token;
- arg.size = drm_u64(entry->map_list.map->size);
+ arg.size = entry->map_list.map->size;
drm_ttm_object_deref_locked(dev, entry);
mutex_unlock(&dev->struct_mutex);