On Fri, 20 Feb 2004 22:56:20 +0000
Keith Whitwell <[EMAIL PROTECTED]> wrote:
> Erdi Chen wrote:
> > This is a patch to call the context handles destructors and free the
> > context bitmap entries when a process does not destroy its contexts
> > before it exits. It saves context handles in a linked list in the
> > drm_device struct. I decided to use per device list instead of a per
> > file descriptor list for simplicity because the number of contexts will
> > usually be small. A new semaphore, ctxlist_sem, is added to the
> > drm_device struct because the patch will call functions that will down
> > the struct_sem during list traversal. The patch is generated against
> > the DRI CVS tree that is updated at 02-19-2004. It should also apply to
> > the VIA branch with the exception that the line that calls sema_init
> > would fail.
>
> I've committed this, but I'm just about to leave on holidays. If there are
> any problems hopefully Erdi will be able to submit fixup patches & have them
> committed while I'm away.
I just cvs upgraded and now the build fails in
.../os-support/linux/drm/kernel:
In file included from gamma_drv.c:46:
drm_drv.h: In function `gamma_release':
drm_drv.h:910: warning: implicit declaration of function `list_for_each_entry_safe'
drm_drv.h:910: `head' undeclared (first use in this function)
drm_drv.h:910: (Each undeclared identifier is reported only once
drm_drv.h:910: for each function it appears in.)
drm_drv.h:910: syntax error before '{' token
...
and many more which I suspect are just because the compiler got
confused. The problem seems to be that list_for_each_entry_safe is not
defined. Erdi, did you forget to include it in the patch or is my
working tree missing something?
Felix
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel