gamma_alloc -> DRM(alloc)

main
Alan Hourihane 2002-06-25 12:13:20 +00:00
parent f626cf76e6
commit 8aecdbea76
2 changed files with 2 additions and 2 deletions

View File

@ -555,7 +555,7 @@ static int DRM(alloc_queue)(drm_device_t *dev)
/* Allocate a new queue */ /* Allocate a new queue */
down(&dev->struct_sem); 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)); memset(queue, 0, sizeof(*queue));
atomic_set(&queue->use_count, 1); atomic_set(&queue->use_count, 1);

View File

@ -555,7 +555,7 @@ static int DRM(alloc_queue)(drm_device_t *dev)
/* Allocate a new queue */ /* Allocate a new queue */
down(&dev->struct_sem); 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)); memset(queue, 0, sizeof(*queue));
atomic_set(&queue->use_count, 1); atomic_set(&queue->use_count, 1);