summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2002-06-25 12:13:20 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2002-06-25 12:13:20 +0000
commit8aecdbea7660ae184827a0812fc4bbd953279c5b (patch)
tree280468b52b6215b5a4b68bf5ed85a3e669e2752e /linux
parentf626cf76e61313152e57334c7f172de97235d169 (diff)
Diffstat (limited to 'linux')
-rw-r--r--linux/drm_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm_context.h b/linux/drm_context.h
index e155946d..39267b14 100644
--- a/linux/drm_context.h
+++ b/linux/drm_context.h
@@ -555,7 +555,7 @@ static int DRM(alloc_queue)(drm_device_t *dev)
/* Allocate a new queue */
down(&dev->struct_sem);
- queue = gamma_alloc(sizeof(*queue), DRM_MEM_QUEUES);
+ queue = DRM(alloc)(sizeof(*queue), DRM_MEM_QUEUES);
memset(queue, 0, sizeof(*queue));
atomic_set(&queue->use_count, 1);