[PATCH 2/7] UML - SIGIO locking comment
From: Jeff Dike
Date: Wed Feb 07 2007 - 14:55:38 EST
Comment the use of a mysterious-looking lock.
Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>
--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/