[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200702071947.l17JlhGW006605@ccure.user-mode-linux.org>
Date: Wed, 07 Feb 2007 14:47:43 -0500
From: Jeff Dike <jdike@...toit.com>
To: akpm@...l.org
cc: linux-kernel@...r.kernel.org,
user-mode-linux-devel@...ts.sourceforge.net
Subject: [PATCH 2/7] UML - SIGIO locking comment
Comment the use of a mysterious-looking lock.
Signed-off-by: Jeff Dike <jdike@...toit.com>
--
arch/um/kernel/sigio.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6.18-mm/arch/um/kernel/sigio.c
===================================================================
--- linux-2.6.18-mm.orig/arch/um/kernel/sigio.c 2007-01-10 15:12:51.000000000 -0500
+++ linux-2.6.18-mm/arch/um/kernel/sigio.c 2007-01-10 15:44:08.000000000 -0500
@@ -42,6 +42,7 @@ int write_sigio_irq(int fd)
return(0);
}
+/* These are called from os-Linux/sigio.c to protect its pollfds arrays. */
static DEFINE_SPINLOCK(sigio_spinlock);
void sigio_lock(void)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists