patch-2.4.23 linux-2.4.23/drivers/char/drm/drm_context.h

Next file: linux-2.4.23/drivers/char/drm/drm_dma.h
Previous file: linux-2.4.23/drivers/char/drm/drm_bufs.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/char/drm/drm_context.h linux-2.4.23/drivers/char/drm/drm_context.h
@@ -554,7 +554,7 @@
 				/* 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);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)