LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 2/7] UML - SIGIO locking comment
@ 2007-02-07 19:47 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2007-02-07 19:47 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, user-mode-linux-devel

Comment the use of a mysterious-looking lock.

Signed-off-by: Jeff Dike <jdike@addtoit.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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-07 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-07 19:47 [PATCH 2/7] UML - SIGIO locking comment Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).