Update of /cvsroot/gc-linux/linux/drivers/video
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22432
Modified Files:
gcngx.c
Log Message:
Reminder. We need to fix some things.
Index: gcngx.c
===================================================================
RCS file: /cvsroot/gc-linux/linux/drivers/video/gcngx.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- gcngx.c 2 Oct 2005 18:10:28 -0000 1.5
+++ gcngx.c 7 Nov 2005 19:58:12 -0000 1.6
@@ -344,6 +344,11 @@
/* call the frame buffer mmap method */
if (file->f_op->mmap)
{
+ /*
+ * FIXME
+ * This seems to be broken.
+ * fb_mmap might sleep and we're getting a lock here.
+ */
spin_lock(&lock);
/* reset our mmap since the fb driver will call it */
gcnfb_ops.fb_mmap = NULL;
|