summaryrefslogtreecommitdiff
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
parentf626cf76e61313152e57334c7f172de97235d169 (diff)
-rw-r--r--linux-core/drm_context.c2
-rw-r--r--linux/drm_context.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_context.c b/linux-core/drm_context.c
index e155946d..39267b14 100644
--- a/linux-core/drm_context.c
+++ b/linux-core/drm_context.c
@@ -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);
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);